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

Unified Diff: chrome/browser/ui/cocoa/floating_bar_backing_view.mm

Issue 19918002: Refactor [FramedBrowserWindow drawWindowThemeInDirtyRect:] to use themeImagePositionForAlignment: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/cocoa/floating_bar_backing_view.mm
diff --git a/chrome/browser/ui/cocoa/floating_bar_backing_view.mm b/chrome/browser/ui/cocoa/floating_bar_backing_view.mm
index fef660b8de94a23cfea52a69f884e9834150a1e7..7f626f4a47152f4c55fc95ad1a8b85674025ecae 100644
--- a/chrome/browser/ui/cocoa/floating_bar_backing_view.mm
+++ b/chrome/browser/ui/cocoa/floating_bar_backing_view.mm
@@ -19,11 +19,9 @@
[[NSColor windowBackgroundColor] set];
NSRectFill(rect);
- // TODO(rohitrao): Don't assume -22 here.
[FramedBrowserWindow drawWindowThemeInDirtyRect:rect
forView:self
bounds:[self bounds]
- offset:NSMakePoint(0, -22)
forceBlackBackground:YES];
}

Powered by Google App Engine
This is Rietveld 408576698