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

Unified Diff: chrome/browser/views/frame/browser_view.h

Issue 18799: Make popups closer to pixel-perfect. The main problem is that the toolbar is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « no previous file | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/frame/browser_view.h
===================================================================
--- chrome/browser/views/frame/browser_view.h (revision 8638)
+++ chrome/browser/views/frame/browser_view.h (working copy)
@@ -40,6 +40,10 @@
public views::WindowDelegate,
public views::ClientView {
public:
+ // In restored mode, we draw a 1 px edge around the content area inside the
+ // frame border.
+ static const int kClientEdgeThickness;
+
explicit BrowserView(Browser* browser);
virtual ~BrowserView();
@@ -76,6 +80,9 @@
bool IsToolbarVisible() const;
bool IsTabStripVisible() const;
+ // Returns true if the toolbar is displaying its normal set of controls.
+ bool IsToolbarDisplayModeNormal() const;
+
// Returns true if the profile associated with this Browser window is
// off the record.
bool IsOffTheRecord() const;
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698