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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_bar_constants.h

Issue 844333003: MacViews: Audit TOOLKIT_VIEWS in chrome/browser/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simpler #if condition Created 5 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/bookmarks/bookmark_bar_constants.h
diff --git a/chrome/browser/ui/bookmarks/bookmark_bar_constants.h b/chrome/browser/ui/bookmarks/bookmark_bar_constants.h
index 1bee522612f43b9c6c232c0994f316ecf353c22c..a6c4e7bae77b9e820bbd8345200c859ae8de9c34 100644
--- a/chrome/browser/ui/bookmarks/bookmark_bar_constants.h
+++ b/chrome/browser/ui/bookmarks/bookmark_bar_constants.h
@@ -15,14 +15,14 @@ const int kNTPBookmarkBarHeight = 40;
#endif
// The height of Bookmarks Bar, when attached to the toolbar.
-#if defined(TOOLKIT_VIEWS)
-const int kBookmarkBarHeight = 28;
-#elif defined(OS_MACOSX)
+#if defined(OS_MACOSX)
// This is actually a little smaller than it should be (by |kVisualHeightOffset|
// points) because of the visual overlap with the main toolbar. When using this
// to compute values other than the actual height of the toolbar, be sure to add
// |kVisualHeightOffset|.
const int kBookmarkBarHeight = 26;
+#elif defined(TOOLKIT_VIEWS)
+const int kBookmarkBarHeight = 28;
#endif
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/autofill/card_unmask_prompt_view.cc ('k') | chrome/browser/ui/infobar_container_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698