OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_AURA) || defined(OS_CHROMEOS) | 9 #if defined(USE_AURA) || defined(OS_CHROMEOS) |
10 const bool kOSSupportsOtherBrowsers = false; | 10 const bool kOSSupportsOtherBrowsers = false; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 const bool kAlwaysOpenIncognitoWindow = false; | 71 const bool kAlwaysOpenIncognitoWindow = false; |
72 const bool kShowCancelButtonInTaskManager = false; | 72 const bool kShowCancelButtonInTaskManager = false; |
73 #endif | 73 #endif |
74 | 74 |
75 #if defined(OS_MACOSX) | 75 #if defined(OS_MACOSX) |
76 const bool kBrowserAliveWithNoWindows = true; | 76 const bool kBrowserAliveWithNoWindows = true; |
77 #else | 77 #else |
78 const bool kBrowserAliveWithNoWindows = false; | 78 const bool kBrowserAliveWithNoWindows = false; |
79 #endif | 79 #endif |
80 | 80 |
81 #ifdef TOUCH_UI | |
82 const int kBookmarkBarHeight = 50; | |
83 const int kNewtabBookmarkBarHeight = 72; | |
84 // TouchUI issue with opening too many tabs. | |
85 const int kMaxTabCount = 4; | |
86 #else | |
87 const int kBookmarkBarHeight = 28; | 81 const int kBookmarkBarHeight = 28; |
88 const int kNewtabBookmarkBarHeight = 57; | 82 const int kNewtabBookmarkBarHeight = 57; |
89 const int kMaxTabCount = INT_MAX; | 83 const int kMaxTabCount = INT_MAX; |
90 #endif | |
91 | 84 |
92 #ifdef TOUCH_UI | |
93 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = | |
94 ui::ResourceBundle::LargeBoldFont; | |
95 #else | |
96 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = | 85 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = |
97 ui::ResourceBundle::BoldFont; | 86 ui::ResourceBundle::BoldFont; |
98 #endif | |
99 | 87 |
100 #ifdef TOUCH_UI | |
101 const int kInfoBarBorderPaddingVertical = 12; | |
102 #else | |
103 const int kInfoBarBorderPaddingVertical = 5; | 88 const int kInfoBarBorderPaddingVertical = 5; |
104 #endif | |
105 | 89 |
106 bool bookmarks_enabled = true; | 90 bool bookmarks_enabled = true; |
107 | 91 |
108 bool skip_restore = false; | 92 bool skip_restore = false; |
109 | 93 |
110 bool enable_help_app = true; | 94 bool enable_help_app = true; |
111 | 95 |
112 } // namespace browser_defaults | 96 } // namespace browser_defaults |
OLD | NEW |