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

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

Issue 10796054: Adapt the linux about_memory page to better render on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve nits Created 8 years, 5 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_AURA) 9 #if defined(USE_AURA)
10 const bool kOSSupportsOtherBrowsers = false; 10 const bool kOSSupportsOtherBrowsers = false;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 #if defined(OS_MACOSX) 72 #if defined(OS_MACOSX)
73 const bool kShowExitMenuItem = false; 73 const bool kShowExitMenuItem = false;
74 #else 74 #else
75 const bool kShowExitMenuItem = true; 75 const bool kShowExitMenuItem = true;
76 #endif 76 #endif
77 const bool kShowFeedbackMenuItem = false; 77 const bool kShowFeedbackMenuItem = false;
78 const bool kShowHelpMenuItemIcon = false; 78 const bool kShowHelpMenuItemIcon = false;
79 const bool kShowSyncSetupMenuItem = true; 79 const bool kShowSyncSetupMenuItem = true;
80 const bool kShowUpgradeMenuItem = true; 80 const bool kShowUpgradeMenuItem = true;
81 const bool kSizeTabButtonToTopOfTabStrip = false; 81 const bool kSizeTabButtonToTopOfTabStrip = false;
82 #if defined(OS_ANDROID)
83 const bool kSyncAutoStarts = true;
84 const bool kShowOtherBrowsersInAboutMemory = false;
85 #else
82 const bool kSyncAutoStarts = false; 86 const bool kSyncAutoStarts = false;
83 const bool kShowOtherBrowsersInAboutMemory = true; 87 const bool kShowOtherBrowsersInAboutMemory = true;
88 #endif
84 const bool kAlwaysOpenIncognitoWindow = false; 89 const bool kAlwaysOpenIncognitoWindow = false;
85 #endif 90 #endif
86 91
87 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) 92 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
88 const bool kBrowserAliveWithNoWindows = true; 93 const bool kBrowserAliveWithNoWindows = true;
89 #else 94 #else
90 const bool kBrowserAliveWithNoWindows = false; 95 const bool kBrowserAliveWithNoWindows = false;
91 #endif 96 #endif
92 97
93 const int kBookmarkBarHeight = 28; 98 const int kBookmarkBarHeight = 28;
(...skipping 14 matching lines...) Expand all
108 const bool kAppRestoreSession = true; 113 const bool kAppRestoreSession = true;
109 #else 114 #else
110 const bool kAppRestoreSession = false; 115 const bool kAppRestoreSession = false;
111 #endif 116 #endif
112 117
113 bool bookmarks_enabled = true; 118 bool bookmarks_enabled = true;
114 119
115 bool enable_help_app = true; 120 bool enable_help_app = true;
116 121
117 } // namespace browser_defaults 122 } // namespace browser_defaults
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698