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

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

Issue 725293005: We previously had a setting in chrome defaults but this deprecates that for a command line flag and… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171_62
Patch Set: Created 6 years 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/chromeos/login/oobe_browsertest.cc ('k') | chrome/browser/defaults.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 // Defines various defaults whose values varies depending upon the OS. 5 // Defines various defaults whose values varies depending upon the OS.
6 6
7 #ifndef CHROME_BROWSER_DEFAULTS_H_ 7 #ifndef CHROME_BROWSER_DEFAULTS_H_
8 #define CHROME_BROWSER_DEFAULTS_H_ 8 #define CHROME_BROWSER_DEFAULTS_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 15 matching lines...) Expand all
26 // Width of mini-tabs. Inline because other constants are computed depending 26 // Width of mini-tabs. Inline because other constants are computed depending
27 // on this, which causes static initializers if the value isn't available in 27 // on this, which causes static initializers if the value isn't available in
28 // all translation units that do this. 28 // all translation units that do this.
29 #if defined(TOOLKIT_VIEWS) 29 #if defined(TOOLKIT_VIEWS)
30 // Windows and Chrome OS have bigger shadows in the tab art. 30 // Windows and Chrome OS have bigger shadows in the tab art.
31 const int kMiniTabWidth = 64; 31 const int kMiniTabWidth = 64;
32 #else 32 #else
33 const int kMiniTabWidth = 56; 33 const int kMiniTabWidth = 56;
34 #endif 34 #endif
35 35
36 #if defined(TOOLKIT_VIEWS)
37 // Whether to show a Link Disambiguation Popup Bubble if the browser detects an
38 // ambiguous touch event.
39 extern const bool kShowLinkDisambiguationPopup;
40 #endif
41
42 // Can the browser be alive without any browser windows? 36 // Can the browser be alive without any browser windows?
43 extern const bool kBrowserAliveWithNoWindows; 37 extern const bool kBrowserAliveWithNoWindows;
44 38
45 // Whether various menu items are shown. 39 // Whether various menu items are shown.
46 extern const bool kShowExitMenuItem; 40 extern const bool kShowExitMenuItem;
47 extern const bool kShowHelpMenuItemIcon; 41 extern const bool kShowHelpMenuItemIcon;
48 extern const bool kShowUpgradeMenuItem; 42 extern const bool kShowUpgradeMenuItem;
49 43
50 // Should a link be shown on the bookmark bar allowing the user to import 44 // Should a link be shown on the bookmark bar allowing the user to import
51 // bookmarks? 45 // bookmarks?
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Are bookmark enabled? True by default. 84 // Are bookmark enabled? True by default.
91 extern bool bookmarks_enabled; 85 extern bool bookmarks_enabled;
92 86
93 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS 87 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS
94 // today. 88 // today.
95 extern bool enable_help_app; 89 extern bool enable_help_app;
96 90
97 } // namespace browser_defaults 91 } // namespace browser_defaults
98 92
99 #endif // CHROME_BROWSER_DEFAULTS_H_ 93 #endif // CHROME_BROWSER_DEFAULTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/oobe_browsertest.cc ('k') | chrome/browser/defaults.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698