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

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

Issue 232773008: More removal of GTK code. (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
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 #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
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; 52 const bool kShowCancelButtonInTaskManager = false;
Lei Zhang 2014/04/11 20:52:10 This might be dead code, remove?
56 #endif
57 53
58 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 54 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
59 const bool kScrollEventChangesTab = true; 55 const bool kScrollEventChangesTab = true;
60 #else 56 #else
61 const bool kScrollEventChangesTab = false; 57 const bool kScrollEventChangesTab = false;
62 #endif 58 #endif
63 59
64 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = 60 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
65 ui::ResourceBundle::BoldFont; 61 ui::ResourceBundle::BoldFont;
66 62
67 #if !defined(OS_ANDROID) 63 #if !defined(OS_ANDROID)
68 const bool kPasswordEchoEnabled = false; 64 const bool kPasswordEchoEnabled = false;
69 #endif 65 #endif
70 66
71 bool bookmarks_enabled = true; 67 bool bookmarks_enabled = true;
72 68
73 bool enable_help_app = true; 69 bool enable_help_app = true;
74 70
75 } // namespace browser_defaults 71 } // namespace browser_defaults
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698