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

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: fixed comment 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 cf82759797c1ede75ed31575f82f578463799818..115122ac809d314332763e1a9cd55d280a85b090 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -72,6 +72,7 @@ class PepperDeviceTest;
struct PP_NetAddress_Private;
class RenderWidgetFullscreenPepper;
class RendererAccessibility;
+class RendererWebColorChooserImpl;
class SkBitmap;
class SpeechInputDispatcher;
struct ViewMsg_Navigate_Params;
@@ -354,6 +355,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();
virtual bool runFileChooser(
const WebKit::WebFileChooserParams& params,
WebKit::WebFileChooserCompletion* chooser_completion);
@@ -1170,6 +1174,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