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

Side by Side Diff: chrome/browser/defaults.cc

Issue 10270016: Fix spacing around left tab, increment theme resource ID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/defaults.h" 5 #include "chrome/browser/defaults.h"
6 6
7 namespace browser_defaults { 7 namespace browser_defaults {
8 8
9 #if defined(USE_AURA) 9 #if defined(USE_AURA)
10 const bool kOSSupportsOtherBrowsers = false; 10 const bool kOSSupportsOtherBrowsers = false;
11 #else 11 #else
12 const bool kOSSupportsOtherBrowsers = true; 12 const bool kOSSupportsOtherBrowsers = true;
13 #endif 13 #endif
14 14
15 #if defined(TOOLKIT_GTK) 15 #if defined(TOOLKIT_GTK)
16 const bool kShowCancelButtonInTaskManager = true; 16 const bool kShowCancelButtonInTaskManager = true;
17 #else 17 #else
18 const bool kShowCancelButtonInTaskManager = false; 18 const bool kShowCancelButtonInTaskManager = false;
19 #endif 19 #endif
20 20
21 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
22 // Make the regular omnibox text two points larger than the nine-point font 22 // Make the regular omnibox text two points larger than the nine-point font
23 // used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px). 23 // used in the tab strip (11pt / 72pt/in * 96px/in = 14.667px).
24 const int kAutocompleteEditFontPixelSize = 15; 24 const int kAutocompleteEditFontPixelSize = 15;
25 25
26 const int kAutocompleteEditFontPixelSizeInPopup = 10; 26 const int kAutocompleteEditFontPixelSizeInPopup = 10;
27 27
28 const int kMiniTabWidth = 64;
29 const bool kCanToggleSystemTitleBar = false; 28 const bool kCanToggleSystemTitleBar = false;
30 const bool kRestorePopups = false; 29 const bool kRestorePopups = false;
31 const bool kShowImportOnBookmarkBar = false; 30 const bool kShowImportOnBookmarkBar = false;
32 const bool kShowExitMenuItem = false; 31 const bool kShowExitMenuItem = false;
33 const bool kShowFeedbackMenuItem = true; 32 const bool kShowFeedbackMenuItem = true;
34 const bool kShowHelpMenuItemIcon = true; 33 const bool kShowHelpMenuItemIcon = true;
35 const bool kShowSyncSetupMenuItem = false; 34 const bool kShowSyncSetupMenuItem = false;
36 const bool kShowUpgradeMenuItem = false; 35 const bool kShowUpgradeMenuItem = false;
37 const bool kDownloadPageHasShowInFolder = true; 36 const bool kDownloadPageHasShowInFolder = true;
38 const bool kSizeTabButtonToTopOfTabStrip = false; 37 const bool kSizeTabButtonToTopOfTabStrip = false;
(...skipping 12 matching lines...) Expand all
51 kAutocompleteEditFontPixelSize * 5.0 / 6.0; 50 kAutocompleteEditFontPixelSize * 5.0 / 6.0;
52 51
53 #if defined(TOOLKIT_VIEWS) 52 #if defined(TOOLKIT_VIEWS)
54 const bool kCanToggleSystemTitleBar = false; 53 const bool kCanToggleSystemTitleBar = false;
55 #else 54 #else
56 const bool kCanToggleSystemTitleBar = true; 55 const bool kCanToggleSystemTitleBar = true;
57 #endif // defined(TOOLKIT_VIEWS) 56 #endif // defined(TOOLKIT_VIEWS)
58 57
59 #endif // defined(OS_CHROMEOS) 58 #endif // defined(OS_CHROMEOS)
60 59
60 #if defined(TOOLKIT_VIEWS)
61 // Windows and Chrome OS have bigger shadows in the tab art.
62 const int kMiniTabWidth = 64;
63 #else
64 const int kMiniTabWidth = 56;
65 #endif // defined(TOOLKIT_VIEWS)
66
61 #if !defined(OS_CHROMEOS) 67 #if !defined(OS_CHROMEOS)
62 68
63 const int kMiniTabWidth = 56;
64 const bool kRestorePopups = false; 69 const bool kRestorePopups = false;
65 const bool kShowImportOnBookmarkBar = true; 70 const bool kShowImportOnBookmarkBar = true;
66 const bool kDownloadPageHasShowInFolder = true; 71 const bool kDownloadPageHasShowInFolder = true;
67 #if defined(OS_MACOSX) 72 #if defined(OS_MACOSX)
68 const bool kShowExitMenuItem = false; 73 const bool kShowExitMenuItem = false;
69 #else 74 #else
70 const bool kShowExitMenuItem = true; 75 const bool kShowExitMenuItem = true;
71 #endif 76 #endif
72 const bool kShowFeedbackMenuItem = false; 77 const bool kShowFeedbackMenuItem = false;
73 const bool kShowHelpMenuItemIcon = false; 78 const bool kShowHelpMenuItemIcon = false;
(...skipping 23 matching lines...) Expand all
97 const bool kPasswordEchoEnabled = true; 102 const bool kPasswordEchoEnabled = true;
98 #else 103 #else
99 const bool kPasswordEchoEnabled = false; 104 const bool kPasswordEchoEnabled = false;
100 #endif 105 #endif
101 106
102 bool bookmarks_enabled = true; 107 bool bookmarks_enabled = true;
103 108
104 bool enable_help_app = true; 109 bool enable_help_app = true;
105 110
106 } // namespace browser_defaults 111 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698