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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 13150004: Support color chooser inside extesions, apps, chrome frame, dev tool (Closed) Base URL: http://git.chromium.org/chromium/src.git@ngcolor
Patch Set: Fixed android build Created 7 years, 7 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
« no previous file with comments | « chrome/browser/ui/android/color_chooser_dialog_android.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE; 573 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE;
574 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; 574 virtual void RendererResponsive(content::WebContents* source) OVERRIDE;
575 virtual void WorkerCrashed(content::WebContents* source) OVERRIDE; 575 virtual void WorkerCrashed(content::WebContents* source) OVERRIDE;
576 virtual void DidNavigateMainFramePostCommit( 576 virtual void DidNavigateMainFramePostCommit(
577 content::WebContents* web_contents) OVERRIDE; 577 content::WebContents* web_contents) OVERRIDE;
578 virtual void DidNavigateToPendingEntry( 578 virtual void DidNavigateToPendingEntry(
579 content::WebContents* web_contents) OVERRIDE; 579 content::WebContents* web_contents) OVERRIDE;
580 virtual content::JavaScriptDialogManager* 580 virtual content::JavaScriptDialogManager*
581 GetJavaScriptDialogManager() OVERRIDE; 581 GetJavaScriptDialogManager() OVERRIDE;
582 virtual content::ColorChooser* OpenColorChooser( 582 virtual content::ColorChooser* OpenColorChooser(
583 content::WebContents* web_contents, 583 content::WebContents* web_contents, SkColor color) OVERRIDE;
584 int color_chooser_id,
585 SkColor color) OVERRIDE;
586 virtual void DidEndColorChooser() OVERRIDE;
587 virtual void RunFileChooser( 584 virtual void RunFileChooser(
588 content::WebContents* web_contents, 585 content::WebContents* web_contents,
589 const content::FileChooserParams& params) OVERRIDE; 586 const content::FileChooserParams& params) OVERRIDE;
590 virtual void EnumerateDirectory(content::WebContents* web_contents, 587 virtual void EnumerateDirectory(content::WebContents* web_contents,
591 int request_id, 588 int request_id,
592 const base::FilePath& path) OVERRIDE; 589 const base::FilePath& path) OVERRIDE;
593 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, 590 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents,
594 bool enter_fullscreen) OVERRIDE; 591 bool enter_fullscreen) OVERRIDE;
595 virtual bool IsFullscreenForTabOrPending( 592 virtual bool IsFullscreenForTabOrPending(
596 const content::WebContents* web_contents) const OVERRIDE; 593 const content::WebContents* web_contents) const OVERRIDE;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 904
908 scoped_ptr<FullscreenController> fullscreen_controller_; 905 scoped_ptr<FullscreenController> fullscreen_controller_;
909 906
910 scoped_ptr<extensions::WindowController> extension_window_controller_; 907 scoped_ptr<extensions::WindowController> extension_window_controller_;
911 908
912 scoped_ptr<chrome::BrowserCommandController> command_controller_; 909 scoped_ptr<chrome::BrowserCommandController> command_controller_;
913 910
914 // True if the browser window has been shown at least once. 911 // True if the browser window has been shown at least once.
915 bool window_has_shown_; 912 bool window_has_shown_;
916 913
917 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
918 // before DidEndColorChooser is called.
919 scoped_ptr<content::ColorChooser> color_chooser_;
920
921 DISALLOW_COPY_AND_ASSIGN(Browser); 914 DISALLOW_COPY_AND_ASSIGN(Browser);
922 }; 915 };
923 916
924 #endif // CHROME_BROWSER_UI_BROWSER_H_ 917 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/android/color_chooser_dialog_android.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698