Index: chrome/browser/ui/views/constrained_window_views.h |
diff --git a/chrome/browser/ui/views/constrained_window_views.h b/chrome/browser/ui/views/constrained_window_views.h |
index 2e20a54df5db098788638e40180a641551b52af8..6e134ca05462e201d333ac2b186b51ae3547fbb3 100644 |
--- a/chrome/browser/ui/views/constrained_window_views.h |
+++ b/chrome/browser/ui/views/constrained_window_views.h |
@@ -64,16 +64,17 @@ class ConstrainedWindowViews : public views::Widget, |
public content::WebContentsObserver, |
public content::NotificationObserver { |
public: |
- // Types of insets to use with chrome style frame. |
- enum ChromeStyleClientInsets { |
- DEFAULT_INSETS, |
- NO_INSETS, |
+ // Types of layout to provide on the chrome style frame. |
+ enum ChromeStyleFrameLayout { |
+ FRAME_LAYOUT_FULL, |
+ FRAME_LAYOUT_HEADER_ONLY, |
+ FRAME_LAYOUT_NONE, |
}; |
ConstrainedWindowViews(content::WebContents* web_contents, |
views::WidgetDelegate* widget_delegate, |
bool enable_chrome_style, |
- ChromeStyleClientInsets chrome_style_client_insets); |
+ ChromeStyleFrameLayout chrome_style_frame_layout); |
virtual ~ConstrainedWindowViews(); |
// Returns the WebContents that constrains this Constrained Window. |
@@ -123,8 +124,8 @@ class ConstrainedWindowViews : public views::Widget, |
// over to Chrome style. |
const bool enable_chrome_style_; |
- // Client insets to use when |enable_chrome_style_| is true. |
- ChromeStyleClientInsets chrome_style_client_insets_; |
+ // What to layout by default in the frame when |enable_chrome_style_| is true. |
+ ChromeStyleFrameLayout chrome_style_frame_layout_; |
NativeConstrainedWindow* native_constrained_window_; |