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

Unified Diff: ui/base/ui_base_switches_util.cc

Issue 746403003: disable link disambiguation by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« tools/metrics/histograms/histograms.xml ('K') | « ui/base/ui_base_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches_util.cc
diff --git a/ui/base/ui_base_switches_util.cc b/ui/base/ui_base_switches_util.cc
index a5fab1ce8dfb0453c286fcf9021390f68fa2fb52..046f61368e942943a62af4bb4886c20f048ba2e4 100644
--- a/ui/base/ui_base_switches_util.cc
+++ b/ui/base/ui_base_switches_util.cc
@@ -11,10 +11,10 @@ namespace switches {
bool IsLinkDisambiguationPopupEnabled() {
if (CommandLine::ForCurrentProcess()->HasSwitch(
jdduke (slow) 2014/11/24 18:00:46 Nit: Can you move this check to the #else branch?
luken 2014/11/24 18:12:04 Done.
- switches::kDisableLinkDisambiguationPopup)) {
- return false;
+ switches::kEnableLinkDisambiguationPopup)) {
+ return true;
}
-#if defined(OS_WIN) || defined(OS_ANDROID)
+#if defined(OS_ANDROID)
return true;
#else
return false;
« tools/metrics/histograms/histograms.xml ('K') | « ui/base/ui_base_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698