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

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

Issue 1460483003: Fix opaque frame app mode windows to have correct toolbar/content separator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/opaque_browser_frame_view.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
index 85b5e1457e8cc3feac3557a9dcb46aea841e788f..fdea6948d68a72885b31d61a7d98fc8c67db8fdb 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
@@ -84,6 +84,7 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
bool IsFullscreen() const override;
bool IsTabStripVisible() const override;
int GetTabStripHeight() const override;
+ bool IsToolbarVisible() const override;
gfx::Size GetTabstripPreferredSize() const override;
protected:
@@ -142,7 +143,7 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
void PaintRestoredFrameBorder(gfx::Canvas* canvas);
void PaintMaximizedFrameBorder(gfx::Canvas* canvas);
void PaintToolbarBackground(gfx::Canvas* canvas);
- void PaintRestoredClientEdge(gfx::Canvas* canvas);
+ void PaintClientEdge(gfx::Canvas* canvas);
// Our layout manager also calculates various bounds.
OpaqueBrowserFrameViewLayout* layout_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/opaque_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698