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

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

Issue 1622833002: Fix opaque frame incognito icon and tabstrip positioning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Created 4 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
Index: chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h
diff --git a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h
index 9785ae6833d559d48de1f32f6e86b156bf798510..8a2c9d9dbe1b455a31de10889dfb9e99d6f325dd 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view_layout_delegate.h
@@ -54,6 +54,11 @@ class OpaqueBrowserFrameViewLayoutDelegate {
// it.
virtual gfx::Size GetTabstripPreferredSize() const = 0;
+ // Returns the width of the portion of the toolbar's leading-edge rounded
+ // corner that is within the client area. This is only necessary pre-Material
+ // Design.
+ virtual int GetToolbarLeadingCornerClientWidth() const = 0;
+
protected:
virtual ~OpaqueBrowserFrameViewLayoutDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698