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

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: fixed issues/removed color_select_helper/added color_chooser_id 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 f979d40709ec3e4f1d267ad5964ebf8d813dca26..0c5f19710f10bfe9c0296fecbd51a6c17443dbed 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -26,6 +26,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"
@@ -338,6 +339,11 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
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(unsigned color_chooser_id, const SkColor&);
+ void DidEndColorChooser(unsigned 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