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

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

Issue 1455193003: Draw popup window toolbars as only containing a location bar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@arbitrary_heights
Patch Set: Glass cleanups Created 5 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/frame/glass_browser_frame_view.h
diff --git a/chrome/browser/ui/views/frame/glass_browser_frame_view.h b/chrome/browser/ui/views/frame/glass_browser_frame_view.h
index aa903a0d6c175910b66c3325f4c6b14c16a7abb8..3f77ffb9a4d269bacf519884a7d4f680b57b0df9 100644
--- a/chrome/browser/ui/views/frame/glass_browser_frame_view.h
+++ b/chrome/browser/ui/views/frame/glass_browser_frame_view.h
@@ -74,9 +74,12 @@ class GlassBrowserFrameView : public BrowserNonClientFrameView,
// current state.
int NonClientTopBorderHeight(bool restored) const;
+ // Returns whether the toolbar is currently visible.
+ bool IsToolbarVisible() const;
+
// Paint various sub-components of this view.
void PaintToolbarBackground(gfx::Canvas* canvas);
- void PaintRestoredClientEdge(gfx::Canvas* canvas);
+ void PaintClientEdge(gfx::Canvas* canvas);
// Layout various sub-components of this view.
void LayoutIncognitoIcon();
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.cc ('k') | chrome/browser/ui/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698