| 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) |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 const bool kSizeTabButtonToTopOfTabStrip = false; | 42 const bool kSizeTabButtonToTopOfTabStrip = false; |
| 43 | 43 |
| 44 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) | 44 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) |
| 45 const bool kSyncAutoStarts = true; | 45 const bool kSyncAutoStarts = true; |
| 46 const bool kShowOtherBrowsersInAboutMemory = false; | 46 const bool kShowOtherBrowsersInAboutMemory = false; |
| 47 #else | 47 #else |
| 48 const bool kSyncAutoStarts = false; | 48 const bool kSyncAutoStarts = false; |
| 49 const bool kShowOtherBrowsersInAboutMemory = true; | 49 const bool kShowOtherBrowsersInAboutMemory = true; |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 #if defined(TOOLKIT_GTK) | |
| 53 const bool kShowCancelButtonInTaskManager = true; | |
| 54 #else | |
| 55 const bool kShowCancelButtonInTaskManager = false; | |
| 56 #endif | |
| 57 | |
| 58 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 52 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 59 const bool kScrollEventChangesTab = true; | 53 const bool kScrollEventChangesTab = true; |
| 60 #else | 54 #else |
| 61 const bool kScrollEventChangesTab = false; | 55 const bool kScrollEventChangesTab = false; |
| 62 #endif | 56 #endif |
| 63 | 57 |
| 64 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = | 58 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = |
| 65 ui::ResourceBundle::BoldFont; | 59 ui::ResourceBundle::BoldFont; |
| 66 | 60 |
| 67 #if !defined(OS_ANDROID) | 61 #if !defined(OS_ANDROID) |
| 68 const bool kPasswordEchoEnabled = false; | 62 const bool kPasswordEchoEnabled = false; |
| 69 #endif | 63 #endif |
| 70 | 64 |
| 71 bool bookmarks_enabled = true; | 65 bool bookmarks_enabled = true; |
| 72 | 66 |
| 73 bool enable_help_app = true; | 67 bool enable_help_app = true; |
| 74 | 68 |
| 75 } // namespace browser_defaults | 69 } // namespace browser_defaults |
| OLD | NEW |