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

Unified Diff: content/browser/renderer_host/render_view_host.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added content::ColorChooser Created 8 years, 10 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/browser/renderer_host/render_view_host.h
diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
index 0b79125f423660b9f4a5cd9b02c7a53ec3c76158..1f3532270727845003178c92b837e8720d155dac 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -27,6 +27,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/javascript_message_type.h"
#include "webkit/glue/webaccessibility.h"
#include "webkit/glue/window_open_disposition.h"
@@ -341,6 +342,11 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHostImpl {
const std::vector<FilePath>& local_paths,
const FilePath& local_directory_name);
+ // Notifies the RenderView that the user selected a color in the color
+ // chooser.
+ void DidChooseColorInColorChooser(int color_chooser_id, const SkColor&);
jam 2012/02/27 22:06:25 it seems asymmetrical that the embedder's WebConte
+ void DidEndColorChooser(int color_chooser_id);
+
// Notifies the Listener that one or more files have been chosen by the user
// from a file chooser dialog for the form. |permissions| are flags from the
// base::PlatformFileFlags enum which specify which file permissions should

Powered by Google App Engine
This is Rietveld 408576698