zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

CEF3: Add HTML5 input type=color support #899

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a page with input type=color

What is the expected output? What do you see instead?
Clicking on this color control does not display color picker. 

What version of the product are you using? On what operating system?
Cef3 trunk r1107

Please provide any additional information below.
Related discussion: 
http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=10484&p=15902

Original issue reported on code.google.com by nvine...@gmail.com on 4 Mar 2013 at 6:08

GoogleCodeExporter commented 9 years ago
WebKit color input type support has been disabled in revision 1134. This will 
be re-enabled once an implementation is in place.

In order to support the color chooser it's necessary to implement 
WebContentsDelegate::OpenColorChooser in CefBrowserHostImpl. The existing 
Chromium implementations of ColorChooser for Linux 
(chrome/browser/ui/gtk/color_chooser_gtk.cc) and Mac 
(chrome/browser/ui/cocoa/color_chooser_mac.mm) can be used mostly as-is. A 
Windows implementation will need to be written from scratch for CEF because 
Chromium uses a views-based implementation and the default system color chooser 
(ChooseColor function) does not provide a modeless dialog.

Original comment by magreenb...@gmail.com on 8 Mar 2013 at 6:23

GoogleCodeExporter commented 9 years ago

Original comment by magreenb...@gmail.com on 8 Mar 2013 at 6:48

GoogleCodeExporter commented 9 years ago
Issue 838 has been merged into this issue.

Original comment by magreenb...@gmail.com on 8 Mar 2013 at 10:22

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/899

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:24