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

Unified Diff: chrome/browser/ui/views/frame/browser_view_layout.h

Issue 10933085: Update ConstrainedWindowViews appearance according to mock (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Browser test fixes Created 8 years, 2 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
Index: chrome/browser/ui/views/frame/browser_view_layout.h
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.h b/chrome/browser/ui/views/frame/browser_view_layout.h
index 94fff855c0c95df1d346601c9e7bee96c9d99532..81a8c8e75a20e6aad56b1ad0d1862f449f14f9a4 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.h
+++ b/chrome/browser/ui/views/frame/browser_view_layout.h
@@ -34,6 +34,8 @@ class BrowserViewLayout : public views::LayoutManager {
BrowserViewLayout();
virtual ~BrowserViewLayout();
+ int GetConstrainedWindowTopY();
+
// Returns the minimum size of the browser view.
virtual gfx::Size GetMinimumSize();
@@ -116,6 +118,10 @@ class BrowserViewLayout : public views::LayoutManager {
// The distance the FindBar is from the top of the window, in pixels.
int find_bar_y_;
+ // The distance the constrained window is from the top of the window,
+ // in pixels.
+ int constrained_window_top_y;
+
DISALLOW_COPY_AND_ASSIGN(BrowserViewLayout);
};

Powered by Google App Engine
This is Rietveld 408576698