Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1023)

Unified Diff: content/renderer/render_view_impl.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: renamed method Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index be94611045cf11fa2a33c508dced23a6031e192a..b25705496d61f5b05d292fa5b8eb9ac06d70cca6 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -71,6 +71,7 @@ class PepperDeviceTest;
struct PP_NetAddress_Private;
class RenderWidgetFullscreenPepper;
class RendererAccessibility;
+class RendererWebColorChooserImpl;
class SkBitmap;
class SpeechInputDispatcher;
struct ViewMsg_Navigate_Params;
@@ -349,6 +350,9 @@ class RenderViewImpl : public RenderWidget,
virtual void didChangeSelection(bool is_selection_empty);
virtual void didExecuteCommand(const WebKit::WebString& command_name);
virtual bool handleCurrentKeyboardEvent();
+ virtual WebKit::WebColorChooser* createColorChooser(
+ WebKit::WebColorChooserClient*, const WebKit::WebColor& initial_color);
+ void endColorChooser(WebKit::WebColorChooser*);
virtual bool runFileChooser(
const WebKit::WebFileChooserParams& params,
WebKit::WebFileChooserCompletion* chooser_completion);
@@ -1164,6 +1168,8 @@ class RenderViewImpl : public RenderWidget,
// Misc ----------------------------------------------------------------------
+ RendererWebColorChooserImpl* color_chooser_;
+
// The current and pending file chooser completion objects. If the queue is
// nonempty, the first item represents the currently running file chooser
// callback, and the remaining elements are the other file chooser completion

Powered by Google App Engine
This is Rietveld 408576698