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

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

Issue 1053663003: Cleanup: Remove unused variables in chrome/ found by Scythe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/devtools/browser_list_tabcontents_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 const int kOmniboxFontPixelSize = 16; 9 const int kOmniboxFontPixelSize = 16;
10 10
11 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) 11 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
12 const bool kBrowserAliveWithNoWindows = true; 12 const bool kBrowserAliveWithNoWindows = true;
13 const bool kShowExitMenuItem = false; 13 const bool kShowExitMenuItem = false;
14 #else 14 #else
15 const bool kBrowserAliveWithNoWindows = false; 15 const bool kBrowserAliveWithNoWindows = false;
16 const bool kShowExitMenuItem = true; 16 const bool kShowExitMenuItem = true;
17 #endif 17 #endif
18 18
19 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
20 const bool kShowHelpMenuItemIcon = true;
21 const bool kShowUpgradeMenuItem = false; 20 const bool kShowUpgradeMenuItem = false;
22 const bool kShowImportOnBookmarkBar = false; 21 const bool kShowImportOnBookmarkBar = false;
23 const bool kAlwaysOpenIncognitoWindow = true; 22 const bool kAlwaysOpenIncognitoWindow = true;
24 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false; 23 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = false;
25 #else 24 #else
26 const bool kShowHelpMenuItemIcon = false;
27 const bool kShowUpgradeMenuItem = true; 25 const bool kShowUpgradeMenuItem = true;
28 const bool kShowImportOnBookmarkBar = true; 26 const bool kShowImportOnBookmarkBar = true;
29 const bool kAlwaysOpenIncognitoWindow = false; 27 const bool kAlwaysOpenIncognitoWindow = false;
30 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true; 28 const bool kAlwaysCreateTabbedBrowserOnSessionRestore = true;
31 #endif 29 #endif
32 30
31 #if defined(GOOGLE_CHROME_BUILD)
32 #if defined(OS_CHROMEOS)
33 const bool kShowHelpMenuItemIcon = true;
34 #else
35 const bool kShowHelpMenuItemIcon = false;
36 #endif
37 #endif
38
33 const bool kDownloadPageHasShowInFolder = true; 39 const bool kDownloadPageHasShowInFolder = true;
34 const bool kSizeTabButtonToTopOfTabStrip = false; 40 const bool kSizeTabButtonToTopOfTabStrip = false;
35 41
36 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) 42 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
37 const bool kSyncAutoStarts = true; 43 const bool kSyncAutoStarts = true;
38 const bool kShowOtherBrowsersInAboutMemory = false; 44 const bool kShowOtherBrowsersInAboutMemory = false;
39 #else 45 #else
40 const bool kSyncAutoStarts = false; 46 const bool kSyncAutoStarts = false;
41 const bool kShowOtherBrowsersInAboutMemory = true; 47 const bool kShowOtherBrowsersInAboutMemory = true;
42 #endif 48 #endif
43 49
44 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 50 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
45 const bool kScrollEventChangesTab = true; 51 const bool kScrollEventChangesTab = true;
46 #else 52 #else
47 const bool kScrollEventChangesTab = false; 53 const bool kScrollEventChangesTab = false;
48 #endif 54 #endif
49 55
50 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle = 56 const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle =
51 ui::ResourceBundle::BoldFont; 57 ui::ResourceBundle::BoldFont;
52 58
53 #if !defined(OS_ANDROID) 59 #if !defined(OS_ANDROID)
54 const bool kPasswordEchoEnabled = false; 60 const bool kPasswordEchoEnabled = false;
55 #endif 61 #endif
56 62
57 bool bookmarks_enabled = true; 63 bool bookmarks_enabled = true;
58 64
59 bool enable_help_app = true; 65 bool enable_help_app = true;
60 66
61 } // namespace browser_defaults 67 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/devtools/browser_list_tabcontents_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698