Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index abd656aa6a681654cff954fdb57cf6fb5aa1551e..80e492911c78bdedc702d3b04add4f82173088b2 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -15,6 +15,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" |
@@ -356,6 +357,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. |