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

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: Removed chrome/browser/ui/color_chooser.cc Created 7 years, 8 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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE; 576 virtual void RendererUnresponsive(content::WebContents* source) OVERRIDE;
577 virtual void RendererResponsive(content::WebContents* source) OVERRIDE; 577 virtual void RendererResponsive(content::WebContents* source) OVERRIDE;
578 virtual void WorkerCrashed(content::WebContents* source) OVERRIDE; 578 virtual void WorkerCrashed(content::WebContents* source) OVERRIDE;
579 virtual void DidNavigateMainFramePostCommit( 579 virtual void DidNavigateMainFramePostCommit(
580 content::WebContents* web_contents) OVERRIDE; 580 content::WebContents* web_contents) OVERRIDE;
581 virtual void DidNavigateToPendingEntry( 581 virtual void DidNavigateToPendingEntry(
582 content::WebContents* web_contents) OVERRIDE; 582 content::WebContents* web_contents) OVERRIDE;
583 virtual content::JavaScriptDialogManager* 583 virtual content::JavaScriptDialogManager*
584 GetJavaScriptDialogManager() OVERRIDE; 584 GetJavaScriptDialogManager() OVERRIDE;
585 virtual content::ColorChooser* OpenColorChooser( 585 virtual content::ColorChooser* OpenColorChooser(
586 content::WebContents* web_contents, 586 content::WebContents* web_contents, SkColor color) OVERRIDE;
587 int color_chooser_id,
588 SkColor color) OVERRIDE;
589 virtual void DidEndColorChooser() OVERRIDE;
590 virtual void RunFileChooser( 587 virtual void RunFileChooser(
591 content::WebContents* web_contents, 588 content::WebContents* web_contents,
592 const content::FileChooserParams& params) OVERRIDE; 589 const content::FileChooserParams& params) OVERRIDE;
593 virtual void EnumerateDirectory(content::WebContents* web_contents, 590 virtual void EnumerateDirectory(content::WebContents* web_contents,
594 int request_id, 591 int request_id,
595 const base::FilePath& path) OVERRIDE; 592 const base::FilePath& path) OVERRIDE;
596 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents, 593 virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents,
597 bool enter_fullscreen) OVERRIDE; 594 bool enter_fullscreen) OVERRIDE;
598 virtual bool IsFullscreenForTabOrPending( 595 virtual bool IsFullscreenForTabOrPending(
599 const content::WebContents* web_contents) const OVERRIDE; 596 const content::WebContents* web_contents) const OVERRIDE;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 907
911 scoped_ptr<FullscreenController> fullscreen_controller_; 908 scoped_ptr<FullscreenController> fullscreen_controller_;
912 909
913 scoped_ptr<extensions::WindowController> extension_window_controller_; 910 scoped_ptr<extensions::WindowController> extension_window_controller_;
914 911
915 scoped_ptr<chrome::BrowserCommandController> command_controller_; 912 scoped_ptr<chrome::BrowserCommandController> command_controller_;
916 913
917 // True if the browser window has been shown at least once. 914 // True if the browser window has been shown at least once.
918 bool window_has_shown_; 915 bool window_has_shown_;
919 916
920 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
921 // before DidEndColorChooser is called.
922 scoped_ptr<content::ColorChooser> color_chooser_;
923
924 DISALLOW_COPY_AND_ASSIGN(Browser); 917 DISALLOW_COPY_AND_ASSIGN(Browser);
925 }; 918 };
926 919
927 #endif // CHROME_BROWSER_UI_BROWSER_H_ 920 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698