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. |