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

Unified Diff: chrome/renderer/chrome_render_process_observer.cc

Issue 12662017: [rAC, OSX] Enable requestAutocomplet for OSX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yay. rAC behind a flag for OSX. TLA FTW! Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_process_observer.cc
diff --git a/chrome/renderer/chrome_render_process_observer.cc b/chrome/renderer/chrome_render_process_observer.cc
index a9020d62d5ac2ea7d49754806d1a5473ffb064be..4b6a1710213e0727072cb47db24b06d9c15cdb2e 100644
--- a/chrome/renderer/chrome_render_process_observer.cc
+++ b/chrome/renderer/chrome_render_process_observer.cc
@@ -165,9 +165,15 @@ ChromeRenderProcessObserver::ChromeRenderProcessObserver(
}
#if defined(ENABLE_AUTOFILL_DIALOG)
+#if defined(OS_MACOSX)
sky 2013/06/07 16:48:03 Is there some central autofill class we can add a
Albert Bodenhamer 2013/06/07 17:03:59 autofill_switches might work, but the code is only
+ bool enableAutofill = command_line.HasSwitch(
+ autofill::switches::kEnableInteractiveAutocomplete);
+#else
+ bool enableAutofill = !command_line.HasSwitch(
+ autofill::switches::kDisableInteractiveAutocomplete);
+#endif
WebRuntimeFeatures::enableRequestAutocomplete(
- !command_line.HasSwitch(
- autofill::switches::kDisableInteractiveAutocomplete) ||
+ enableAutofill ||
command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures));
#endif
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698