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(); |