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

Unified Diff: content/public/browser/web_contents.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 46e139eeec331b7960f022e7c9d6860ef80b4c59..2434e6f439ace59d27bab68373df4a60b8c63ced 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -14,6 +14,7 @@
#include "content/public/browser/save_page_type.h"
#include "content/public/browser/web_ui.h"
#include "content/public/common/view_type.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"
@@ -350,6 +351,13 @@ class WebContents : public PageNavigator {
// locked.
virtual bool GotResponseToLockMouseRequest(bool allowed) = 0;
+ // Called when the user has selected a color in the color chooser.
+ virtual void DidChooseColorInColorChooser(int color_chooser_id,
+ const SkColor&) = 0;
+
+ // Called when the color chooser has ended.
+ virtual void DidEndColorChooser(int color_chooser_id) = 0;
+
// Returns true if the location bar should be focused by default rather than
// the page contents. The view calls this function when the tab is focused
// to see what it should do.

Powered by Google App Engine
This is Rietveld 408576698