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

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

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix athena build Created 6 years, 3 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
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)
11 const bool kCanToggleSystemTitleBar = false; 11 const bool kCanToggleSystemTitleBar = false;
12 #else 12 #else
13 const bool kCanToggleSystemTitleBar = true; 13 const bool kCanToggleSystemTitleBar = true;
14 #endif 14 #endif
15 #endif 15 #endif
16 16
17 const int kOmniboxFontPixelSize = 16; 17 const int kOmniboxFontPixelSize = 16;
18 18
19 #if defined(USE_AURA)
20 #if defined(OS_WIN)
21 const bool kShowLinkDisambiguationPopup = true;
22 #else
23 const bool kShowLinkDisambiguationPopup = false;
24 #endif
25 #endif
26
19 #if defined(OS_CHROMEOS) || defined(OS_MACOSX) 27 #if defined(OS_CHROMEOS) || defined(OS_MACOSX)
20 const bool kBrowserAliveWithNoWindows = true; 28 const bool kBrowserAliveWithNoWindows = true;
21 const bool kShowExitMenuItem = false; 29 const bool kShowExitMenuItem = false;
22 #else 30 #else
23 const bool kBrowserAliveWithNoWindows = false; 31 const bool kBrowserAliveWithNoWindows = false;
24 const bool kShowExitMenuItem = true; 32 const bool kShowExitMenuItem = true;
25 #endif 33 #endif
26 34
27 #if defined(OS_CHROMEOS) 35 #if defined(OS_CHROMEOS)
28 const bool kShowHelpMenuItemIcon = true; 36 const bool kShowHelpMenuItemIcon = true;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 68
61 #if !defined(OS_ANDROID) 69 #if !defined(OS_ANDROID)
62 const bool kPasswordEchoEnabled = false; 70 const bool kPasswordEchoEnabled = false;
63 #endif 71 #endif
64 72
65 bool bookmarks_enabled = true; 73 bool bookmarks_enabled = true;
66 74
67 bool enable_help_app = true; 75 bool enable_help_app = true;
68 76
69 } // namespace browser_defaults 77 } // namespace browser_defaults
OLDNEW
« no previous file with comments | « chrome/browser/defaults.h ('k') | chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698