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

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

Issue 14689007: Instant Extended: Move omnibox dropdown by 2 pixels (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/browser_window_controller_private.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
index ffc1842ed75656dcabbb9e83606ea237f2803479..2eebe957871c1c194e375876b17e6b85231e9cee 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
@@ -266,8 +266,8 @@ willPositionSheet:(NSWindow*)sheet
// The tabContentArea view starts below the omnibox.
CGFloat minToolbarHeight = 0;
if ([self hasToolbar]) {
- minToolbarHeight = [toolbarController_
- desiredHeightForCompression:bookmarks::kBookmarkBarOverlap];
+ // 1 to account for the toolbar separator.
+ minToolbarHeight = [toolbarController_ desiredHeightForCompression:1];
}
contentAreaTop = toolbarTopY - minToolbarHeight;
// This is the space between the bottom of the omnibox and the bottom of the

Powered by Google App Engine
This is Rietveld 408576698