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

Unified Diff: android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java

Issue 1471153002: Enable DOM storage in WebView for Telemetry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java
diff --git a/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java b/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java
index fc50f249685f4aeba7007abe0f7a5a1d991221f6..e2a34f9311970e29adc0a924a49de287d33abbc6 100644
--- a/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java
+++ b/android_webview/tools/WebViewShell/src/org/chromium/webview_shell/TelemetryActivity.java
@@ -28,6 +28,9 @@ public class TelemetryActivity extends Activity {
CookieManager.setAcceptFileSchemeCookies(true);
WebSettings settings = webView.getSettings();
settings.setJavaScriptEnabled(true);
+ settings.setUseWideViewPort(true);
+ settings.setLoadWithOverviewMode(true);
+ settings.setDomStorageEnabled(true);
Intent intent = getIntent();
String userAgentString = intent.getStringExtra("userAgent");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698