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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 11861008: Expose the capturePicture feature in RenderView for Android WebView legacy API support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « no previous file | content/public/common/content_switches.h » ('j') | content/public/renderer/render_view.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index 5c6399bb3f4499a399315aa372a9a1b633a7c6b2..ad8ed92669095641f697e86d970068165cb9e9d8 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -28,8 +28,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
content::SetContentClient(&content_client_);
CommandLine* command_line = CommandLine::ForCurrentProcess();
- // Set the command line to enable synchronous API compatibility.
+ // Set the command line to enable compatibility with legacy WebView
+ // synchronous APIs and capture picture.
command_line->AppendSwitch(switches::kEnableWebViewSynchronousAPIs);
+ command_line->AppendSwitch(switches::kEnableWebViewCapturePictureAPI);
// TODO(leandrogracia): enable with the CapturePicture API support.
if (false) {
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | content/public/renderer/render_view.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698