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

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

Issue 225303016: Elim kRestorePopups (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/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 // Should session restore restore popup windows?
37 extern const bool kRestorePopups;
38
39 // Can the browser be alive without any browser windows? 36 // Can the browser be alive without any browser windows?
40 extern const bool kBrowserAliveWithNoWindows; 37 extern const bool kBrowserAliveWithNoWindows;
41 38
42 // Whether various menu items are shown. 39 // Whether various menu items are shown.
43 extern const bool kShowExitMenuItem; 40 extern const bool kShowExitMenuItem;
44 extern const bool kShowHelpMenuItemIcon; 41 extern const bool kShowHelpMenuItemIcon;
45 extern const bool kShowUpgradeMenuItem; 42 extern const bool kShowUpgradeMenuItem;
46 43
47 // 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
48 // bookmarks? 45 // bookmarks?
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Are bookmark enabled? True by default. 87 // Are bookmark enabled? True by default.
91 extern bool bookmarks_enabled; 88 extern bool bookmarks_enabled;
92 89
93 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS 90 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS
94 // today. 91 // today.
95 extern bool enable_help_app; 92 extern bool enable_help_app;
96 93
97 } // namespace browser_defaults 94 } // namespace browser_defaults
98 95
99 #endif // CHROME_BROWSER_DEFAULTS_H_ 96 #endif // CHROME_BROWSER_DEFAULTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/defaults.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698