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

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

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename Created 8 years, 4 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
« no previous file with comments | « chrome/browser/ui/cocoa/view_util.mm ('k') | chrome/browser/ui/constrained_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/constrained_window.h
diff --git a/chrome/browser/ui/constrained_window.h b/chrome/browser/ui/constrained_window.h
index b315400740756c49068f8cf9aff622269d7861ef..320b0d819bb8a7c11cbb533161ed943be881e416 100644
--- a/chrome/browser/ui/constrained_window.h
+++ b/chrome/browser/ui/constrained_window.h
@@ -30,8 +30,8 @@ class ConstrainedWindow {
static const ui::ResourceBundle::FontStyle kTitleFontStyle =
ui::ResourceBundle::MediumFont;
- static const SkColor kBackgroundColor = SkColorSetRGB(0xfb, 0xfb, 0xfb);
- static const SkColor kTextColor = SkColorSetRGB(0x33, 0x33, 0x33);
+ static const SkColor kBackgroundColor;
+ static const SkColor kTextColor;
// Makes the Constrained Window visible. Only one Constrained Window is shown
// at a time per tab.
@@ -43,6 +43,9 @@ class ConstrainedWindow {
// Sets focus on the Constrained Window.
virtual void FocusConstrainedWindow();
+ // Checks if the constrained window can be shown.
+ virtual bool GetCanShowConstrainedWindow();
+
// Returns the native window of the constrained window.
virtual gfx::NativeWindow GetNativeWindow();
« no previous file with comments | « chrome/browser/ui/cocoa/view_util.mm ('k') | chrome/browser/ui/constrained_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698