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

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

Issue 2060004: Removing the app launcher button on ChromeOS (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: One more clean up Created 10 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
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/views/info_bubble.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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(OS_CHROMEOS) 9 #if defined(OS_CHROMEOS)
10 10
11 const double kAutocompleteEditFontPixelSize = 12.0; 11 const double kAutocompleteEditFontPixelSize = 12.0;
12 const double kAutocompleteEditFontPixelSizeInPopup = kAutocompletePopupFontSize; 12 const double kAutocompleteEditFontPixelSizeInPopup = kAutocompletePopupFontSize;
13 13
14 const int kAutocompletePopupFontSize = 7; 14 const int kAutocompletePopupFontSize = 7;
15 const SessionStartupPref::Type kDefaultSessionStartupType = 15 const SessionStartupPref::Type kDefaultSessionStartupType =
16 SessionStartupPref::LAST; 16 SessionStartupPref::LAST;
17 const int kMiniTabWidth = 64; 17 const int kMiniTabWidth = 64;
18 const bool kCanToggleSystemTitleBar = false; 18 const bool kCanToggleSystemTitleBar = false;
19 const bool kRestorePopups = true; 19 const bool kRestorePopups = true;
20 const bool kShowImportOnBookmarkBar = false; 20 const bool kShowImportOnBookmarkBar = false;
21 const bool kShowExitMenuItem = true; 21 const bool kShowExitMenuItem = true;
22 const bool kShowAboutMenuItem = true; 22 const bool kShowAboutMenuItem = true;
23 const bool kOSSupportsOtherBrowsers = false; 23 const bool kOSSupportsOtherBrowsers = false;
24 const bool kDownloadPageHasShowInFolder = false; 24 const bool kDownloadPageHasShowInFolder = false;
25 const bool kSizeTabButtonToTopOfTabStrip = true; 25 const bool kSizeTabButtonToTopOfTabStrip = true;
26 const bool kBootstrapSyncAuthentication = true; 26 const bool kBootstrapSyncAuthentication = true;
27 const bool kShowOtherBrowsersInAboutMemory = false; 27 const bool kShowOtherBrowsersInAboutMemory = false;
28 const bool kShowAppsPanelForNewTab = true;
28 29
29 #elif defined(TOOLKIT_USES_GTK) 30 #elif defined(TOOLKIT_USES_GTK)
30 31
31 // 13.4px = 10pt @ 96dpi. 32 // 13.4px = 10pt @ 96dpi.
32 const double kAutocompleteEditFontPixelSize = 13.4; 33 const double kAutocompleteEditFontPixelSize = 13.4;
33 34
34 // On Windows, popup windows' autocomplete box have a font 5/6 the size of a 35 // On Windows, popup windows' autocomplete box have a font 5/6 the size of a
35 // regular window, which we duplicate here for GTK. 36 // regular window, which we duplicate here for GTK.
36 const double kAutocompleteEditFontPixelSizeInPopup = 37 const double kAutocompleteEditFontPixelSizeInPopup =
37 kAutocompleteEditFontPixelSize * 5.0 / 6.0; 38 kAutocompleteEditFontPixelSize * 5.0 / 6.0;
(...skipping 20 matching lines...) Expand all
58 const bool kShowExitMenuItem = false; 59 const bool kShowExitMenuItem = false;
59 const bool kShowAboutMenuItem = false; 60 const bool kShowAboutMenuItem = false;
60 #else 61 #else
61 const bool kShowExitMenuItem = true; 62 const bool kShowExitMenuItem = true;
62 const bool kShowAboutMenuItem = true; 63 const bool kShowAboutMenuItem = true;
63 #endif 64 #endif
64 const bool kOSSupportsOtherBrowsers = true; 65 const bool kOSSupportsOtherBrowsers = true;
65 const bool kSizeTabButtonToTopOfTabStrip = false; 66 const bool kSizeTabButtonToTopOfTabStrip = false;
66 const bool kBootstrapSyncAuthentication = false; 67 const bool kBootstrapSyncAuthentication = false;
67 const bool kShowOtherBrowsersInAboutMemory = true; 68 const bool kShowOtherBrowsersInAboutMemory = true;
68 69 const bool kShowAppsPanelForNewTab = false;
69 #endif 70 #endif
70 71
71 #if defined(OS_MACOSX) 72 #if defined(OS_MACOSX)
72 const bool kBrowserAliveWithNoWindows = true; 73 const bool kBrowserAliveWithNoWindows = true;
73 #else 74 #else
74 const bool kBrowserAliveWithNoWindows = false; 75 const bool kBrowserAliveWithNoWindows = false;
75 #endif 76 #endif
76 77
77 } // namespace browser_defaults 78 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/views/info_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698