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

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

Issue 7685006: Implement input type=color UI (common part) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: forgot to turn off flag Created 9 years, 1 month 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 37720ffb5d1d7058ce73d65775397ce660951445..d5138633f82caacca65153d890fe0901834e62af 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -20,6 +20,9 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/common/window_container_type.h"
#include "net/base/load_states.h"
+#if defined(ENABLE_INPUT_COLOR)
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebColor.h"
+#endif
#include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
@@ -334,6 +337,13 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
const std::vector<FilePath>& local_paths,
const FilePath& local_directory_name);
+#if defined(ENABLE_INPUT_COLOR)
+ // Notifies the RenderView that the user selected a color in the color
+ // chooser.
+ void DidChooseColorInColorChooser(WebKit::WebColor);
+ void DidCleanupColorChooser();
+#endif
+
// 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