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

Unified Diff: chrome/browser/ui/browser.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fixed comment 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
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 89151e2a18a4f72e791a045fc97eabe982fea353..e2c2185fa0d22fb42d5520cd7f5c686668227c89 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -69,6 +69,7 @@ class StatusBubble;
class TabNavigation;
class TabStripModel;
struct WebApplicationInfo;
+class ColorSelectHelper;
namespace content {
class NavigationController;
@@ -992,6 +993,11 @@ class Browser : public TabHandlerDelegate,
virtual void DidNavigateToPendingEntry(content::WebContents* tab) OVERRIDE;
virtual content::JavaScriptDialogCreator*
GetJavaScriptDialogCreator() OVERRIDE;
+ virtual void OpenColorChooser(content::WebContents* tab,
+ const WebKit::WebColor& color) OVERRIDE;
+ virtual void EndColorChooser(content::WebContents* tab) OVERRIDE;
+ virtual void SetSelectedColorInColorChooser(content::WebContents* tab,
+ const WebKit::WebColor& color) OVERRIDE;
virtual void RunFileChooser(
content::WebContents* tab,
const content::FileChooserParams& params) OVERRIDE;
@@ -1442,6 +1448,8 @@ class Browser : public TabHandlerDelegate,
// True if the browser window has been shown at least once.
bool window_has_shown_;
+ scoped_ptr<ColorSelectHelper> color_select_helper_;
+
DISALLOW_COPY_AND_ASSIGN(Browser);
};

Powered by Google App Engine
This is Rietveld 408576698