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

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h

Issue 1092033006: [Mac/Cleanup] Trim down Foundation.h and ApplicationServices.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include -> import Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Constants used for positioning the bookmark bar. These aren't placed in a 5 // Constants used for positioning the bookmark bar. These aren't placed in a
6 // different file because they're conditionally included in cross platform code 6 // different file because they're conditionally included in cross platform code
7 // and thus no Objective-C++ stuff. 7 // and thus no Objective-C++ stuff.
8 8
9 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 9 #ifndef CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
10 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 10 #define CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
11 11
12 #include <ApplicationServices/ApplicationServices.h>
13
12 #include "chrome/browser/ui/bookmarks/bookmark_bar_constants.h" 14 #include "chrome/browser/ui/bookmarks/bookmark_bar_constants.h"
13 15
14 namespace bookmarks { 16 namespace bookmarks {
15 17
16 // Correction used for computing other values based on the height. 18 // Correction used for computing other values based on the height.
17 const int kVisualHeightOffset = 2; 19 const int kVisualHeightOffset = 2;
18 20
19 // The amount of space between the inner bookmark bar and the outer toolbar on 21 // The amount of space between the inner bookmark bar and the outer toolbar on
20 // new tab pages. 22 // new tab pages.
21 const int kNTPBookmarkBarPadding = 23 const int kNTPBookmarkBarPadding =
(...skipping 11 matching lines...) Expand all
33 // window behind the menu window at times when the menu can be scrolled. 35 // window behind the menu window at times when the menu can be scrolled.
34 const CGFloat kBookmarkBarMenuCornerRadius = 4.0; 36 const CGFloat kBookmarkBarMenuCornerRadius = 4.0;
35 37
36 // Overlap (in pixels) between the toolbar and the bookmark bar (when showing in 38 // Overlap (in pixels) between the toolbar and the bookmark bar (when showing in
37 // normal mode). 39 // normal mode).
38 const CGFloat kBookmarkBarOverlap = 3.0; 40 const CGFloat kBookmarkBarOverlap = 3.0;
39 41
40 } // namespace bookmarks 42 } // namespace bookmarks
41 43
42 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_ 44 #endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BAR_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698