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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class InstantController; 62 class InstantController;
63 class InstantUnloadHandler; 63 class InstantUnloadHandler;
64 class PrefService; 64 class PrefService;
65 class Profile; 65 class Profile;
66 class SessionStorageNamespace; 66 class SessionStorageNamespace;
67 class SkBitmap; 67 class SkBitmap;
68 class StatusBubble; 68 class StatusBubble;
69 class TabNavigation; 69 class TabNavigation;
70 class TabStripModel; 70 class TabStripModel;
71 struct WebApplicationInfo; 71 struct WebApplicationInfo;
72 class ColorSelectHelper;
72 73
73 namespace content { 74 namespace content {
74 class NavigationController; 75 class NavigationController;
75 } 76 }
76 77
77 namespace gfx { 78 namespace gfx {
78 class Point; 79 class Point;
79 } 80 }
80 81
81 class Browser : public TabHandlerDelegate, 82 class Browser : public TabHandlerDelegate,
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 virtual void ContentRestrictionsChanged( 986 virtual void ContentRestrictionsChanged(
986 content::WebContents* source) OVERRIDE; 987 content::WebContents* source) OVERRIDE;
987 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE; 988 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE;
988 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; 989 virtual void RendererResponsive(content::WebContents* source) OVERRIDE;
989 virtual void WorkerCrashed(content::WebContents* source) OVERRIDE; 990 virtual void WorkerCrashed(content::WebContents* source) OVERRIDE;
990 virtual void DidNavigateMainFramePostCommit( 991 virtual void DidNavigateMainFramePostCommit(
991 content::WebContents* tab) OVERRIDE; 992 content::WebContents* tab) OVERRIDE;
992 virtual void DidNavigateToPendingEntry(content::WebContents* tab) OVERRIDE; 993 virtual void DidNavigateToPendingEntry(content::WebContents* tab) OVERRIDE;
993 virtual content::JavaScriptDialogCreator* 994 virtual content::JavaScriptDialogCreator*
994 GetJavaScriptDialogCreator() OVERRIDE; 995 GetJavaScriptDialogCreator() OVERRIDE;
996 virtual void OpenColorChooser(content::WebContents* tab,
997 const WebKit::WebColor& color) OVERRIDE;
998 virtual void EndColorChooser(content::WebContents* tab) OVERRIDE;
999 virtual void SetSelectedColorInColorChooser(content::WebContents* tab,
1000 const WebKit::WebColor& color) OVERRIDE;
995 virtual void RunFileChooser( 1001 virtual void RunFileChooser(
996 content::WebContents* tab, 1002 content::WebContents* tab,
997 const content::FileChooserParams& params) OVERRIDE; 1003 const content::FileChooserParams& params) OVERRIDE;
998 virtual void EnumerateDirectory(content::WebContents* tab, int request_id, 1004 virtual void EnumerateDirectory(content::WebContents* tab, int request_id,
999 const FilePath& path) OVERRIDE; 1005 const FilePath& path) OVERRIDE;
1000 virtual void ToggleFullscreenModeForTab(content::WebContents* tab, 1006 virtual void ToggleFullscreenModeForTab(content::WebContents* tab,
1001 bool enter_fullscreen) OVERRIDE; 1007 bool enter_fullscreen) OVERRIDE;
1002 virtual bool IsFullscreenForTab( 1008 virtual bool IsFullscreenForTab(
1003 const content::WebContents* tab) const OVERRIDE; 1009 const content::WebContents* tab) const OVERRIDE;
1004 virtual void JSOutOfMemory(content::WebContents* tab) OVERRIDE; 1010 virtual void JSOutOfMemory(content::WebContents* tab) OVERRIDE;
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 scoped_ptr<InstantController> instant_; 1441 scoped_ptr<InstantController> instant_;
1436 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1442 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1437 1443
1438 BookmarkBar::State bookmark_bar_state_; 1444 BookmarkBar::State bookmark_bar_state_;
1439 1445
1440 scoped_refptr<FullscreenController> fullscreen_controller_; 1446 scoped_refptr<FullscreenController> fullscreen_controller_;
1441 1447
1442 // True if the browser window has been shown at least once. 1448 // True if the browser window has been shown at least once.
1443 bool window_has_shown_; 1449 bool window_has_shown_;
1444 1450
1451 scoped_ptr<ColorSelectHelper> color_select_helper_;
1452
1445 DISALLOW_COPY_AND_ASSIGN(Browser); 1453 DISALLOW_COPY_AND_ASSIGN(Browser);
1446 }; 1454 };
1447 1455
1448 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1456 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698