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

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 flag 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 087da5bdf57818f83c4da13fbeb5c2514274a9d8..9515c0be3a5fd29a033b0cacd0e246952c6d2cac 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -21,6 +21,9 @@
#include "content/public/common/stop_find_action.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/platform/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"
@@ -338,6 +341,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 DidDetachColorChooser();
+#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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698