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

Unified Diff: chrome/renderer/chrome_render_process_observer.cc

Issue 11366127: Add a runtime flag for interactive autocomplete (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: isherman@ review Created 8 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
« no previous file with comments | « chrome/common/chrome_switches.cc ('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 3e03c3f8217edfb507f87fb789a7669ac107beb3..9b84e40b1fe06ff74e288c829488a66deebef27e 100644
--- a/chrome/renderer/chrome_render_process_observer.cc
+++ b/chrome/renderer/chrome_render_process_observer.cc
@@ -166,6 +166,12 @@ ChromeRenderProcessObserver::ChromeRenderProcessObserver(
base::StatisticsRecorder::set_dump_on_exit(true);
}
+#if defined(TOOLKIT_VIEWS)
+ WebRuntimeFeatures::enableRequestAutocomplete(
+ command_line.HasSwitch(switches::kEnableInteractiveAutocomplete) ||
+ command_line.HasSwitch(switches::kEnableExperimentalWebKitFeatures));
+#endif
+
RenderThread* thread = RenderThread::Get();
resource_delegate_.reset(new RendererResourceDelegate());
thread->SetResourceDispatcherDelegate(resource_delegate_.get());
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698