OLD | NEW |
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_X11) | 9 #if defined(USE_X11) |
10 #if defined(TOOLKIT_VIEWS) | 10 #if defined(TOOLKIT_VIEWS) |
11 const bool kCanToggleSystemTitleBar = false; | 11 const bool kCanToggleSystemTitleBar = false; |
12 #else | 12 #else |
13 const bool kCanToggleSystemTitleBar = true; | 13 const bool kCanToggleSystemTitleBar = true; |
14 #endif | 14 #endif |
15 #endif | 15 #endif |
16 | 16 |
17 const int kOmniboxFontPixelSize = 16; | 17 const int kOmniboxFontPixelSize = 16; |
18 | 18 |
19 const bool kRestorePopups = false; | |
20 | |
21 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) | 19 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) |
22 const bool kBrowserAliveWithNoWindows = true; | 20 const bool kBrowserAliveWithNoWindows = true; |
23 const bool kShowExitMenuItem = false; | 21 const bool kShowExitMenuItem = false; |
24 #else | 22 #else |
25 const bool kBrowserAliveWithNoWindows = false; | 23 const bool kBrowserAliveWithNoWindows = false; |
26 const bool kShowExitMenuItem = true; | 24 const bool kShowExitMenuItem = true; |
27 #endif | 25 #endif |
28 | 26 |
29 #if defined(OS_CHROMEOS) | 27 #if defined(OS_CHROMEOS) |
30 const bool kShowHelpMenuItemIcon = true; | 28 const bool kShowHelpMenuItemIcon = true; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 66 |
69 #if !defined(OS_ANDROID) | 67 #if !defined(OS_ANDROID) |
70 const bool kPasswordEchoEnabled = false; | 68 const bool kPasswordEchoEnabled = false; |
71 #endif | 69 #endif |
72 | 70 |
73 bool bookmarks_enabled = true; | 71 bool bookmarks_enabled = true; |
74 | 72 |
75 bool enable_help_app = true; | 73 bool enable_help_app = true; |
76 | 74 |
77 } // namespace browser_defaults | 75 } // namespace browser_defaults |
OLD | NEW |