Index: content/browser/tab_contents/tab_contents.h |
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h |
index ce8dda557000870875bca7daa0df9356cbd65954..788860d27221cec23a4a55a7641022fdaa000ee9 100644 |
--- a/content/browser/tab_contents/tab_contents.h |
+++ b/content/browser/tab_contents/tab_contents.h |
@@ -38,6 +38,7 @@ class SessionStorageNamespaceImpl; |
struct ViewHostMsg_DidFailProvisionalLoadWithError_Params; |
namespace content { |
+class ColorChooser; |
class DownloadItem; |
class SiteInstance; |
class JavaScriptDialogCreator; |
@@ -213,6 +214,9 @@ class CONTENT_EXPORT TabContents |
virtual content::WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; |
virtual content::WebUI* GetWebUIForCurrentState() OVERRIDE; |
virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
+ virtual void DidChooseColorInColorChooser(int color_chooser_id, |
+ const SkColor&) OVERRIDE; |
+ virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; |
// Implementation of PageNavigator. |
virtual content::WebContents* OpenURL( |
@@ -429,6 +433,11 @@ class CONTENT_EXPORT TabContents |
bool final_update); |
void OnCrashedPlugin(const FilePath& plugin_path); |
void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
+ void OnOpenColorChooser(int color_chooser_id, |
+ const SkColor& color); |
+ void OnEndColorChooser(int color_chooser_id); |
+ void OnSetSelectedColorInColorChooser(int color_chooser_id, |
+ const SkColor& color); |
// Changes the IsLoading state and notifies delegate as needed |
// |details| is used to provide details on the load that just finished |
@@ -648,6 +657,8 @@ class CONTENT_EXPORT TabContents |
// Our view type. Default is VIEW_TYPE_TAB_CONTENTS. |
content::ViewType view_type_; |
+ content::ColorChooser* color_chooser_; |
+ |
DISALLOW_COPY_AND_ASSIGN(TabContents); |
}; |