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

Unified Diff: chrome/browser/ui/views/constrained_window_views.h

Issue 11421164: Migrate CollectedCookiesViews to Chrome style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
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_;
« no previous file with comments | « chrome/browser/ui/views/constrained_window_frame_simple.cc ('k') | chrome/browser/ui/views/constrained_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698