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

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

Issue 1682373002: Misc. small changes in preparation for moving popup mode edge drawing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix CrOS build Created 4 years, 10 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.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 8048bb5d7e2ebe24af6dd4eaff20c39d5d4ee74c..8d87b0acec9ac0642dbc78a93762c7fc138eccda 100644
--- a/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
+++ b/chrome/browser/ui/views/frame/opaque_browser_frame_view.h
@@ -33,6 +33,9 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
public TabIconViewModel,
public OpaqueBrowserFrameViewLayoutDelegate {
public:
+ // The content edge images have a shadow built into them.
+ static int kContentEdgeShadowThickness;
+
// Constructs a non-client view for an BrowserFrame.
OpaqueBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view);
~OpaqueBrowserFrameView() override;
@@ -143,8 +146,8 @@ class OpaqueBrowserFrameView : public BrowserNonClientFrameView,
void PaintClientEdge(gfx::Canvas* canvas) const;
void FillClientEdgeRects(int x,
int y,
- int right,
- int bottom,
+ int w,
+ int height,
sky 2016/02/10 17:22:35 nti: if you're going to go with 'w' for width then
Peter Kasting 2016/02/11 06:02:32 Done.
SkColor color,
gfx::Canvas* canvas) const;

Powered by Google App Engine
This is Rietveld 408576698