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

Unified Diff: chrome/browser/views/detachable_toolbar_view.h

Issue 3137019: Fix numerous alignment problems, both horizontal and vertical, in drawing the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/views/detachable_toolbar_view.h
===================================================================
--- chrome/browser/views/detachable_toolbar_view.h (revision 56452)
+++ chrome/browser/views/detachable_toolbar_view.h (working copy)
@@ -32,10 +32,12 @@
// Gets the current amount of overlap atop the browser toolbar.
virtual int GetToolbarOverlap() const = 0;
- // Paint the background (including the theme image behind content area) when
- // in bar/shelf is attached to the Chrome frame.
+ // Paints the background (including the theme image behind content area) when
+ // the bar/shelf is attached to the top toolbar. |background_origin| is the
+ // origin to use for painting the theme image.
static void PaintBackgroundAttachedMode(gfx::Canvas* canvas,
- views::View* view);
+ views::View* view,
+ const gfx::Point& background_origin);
// Calculate the rect for the content area of the bar/shelf. This is only
// needed when the bar/shelf is detached from the Chrome frame (otherwise the
« no previous file with comments | « chrome/browser/chromeos/frame/normal_browser_frame_view.cc ('k') | chrome/browser/views/detachable_toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698