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

Unified Diff: chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java

Issue 600983002: [Checkstyle] Fix misc style issues in Java files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build Created 6 years, 3 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
Index: chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
diff --git a/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java b/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
index aa13b6d066f5fc8c7177a9461f74359d3ce35e43..f1283da8b5294c24a5b23e00bf856d0e234adec7 100644
--- a/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
+++ b/chrome/test/chromedriver/test/webview_shell/java/src/org/chromium/chromedriver_webview_shell/Main.java
@@ -6,8 +6,6 @@ package org.chromium.chromedriver_webview_shell;
import android.app.Activity;
import android.content.Intent;
-import android.content.res.Configuration;
-import android.os.Build;
import android.os.Bundle;
import android.view.Window;
import android.webkit.WebChromeClient;
@@ -33,11 +31,13 @@ public class Main extends Activity {
final Activity activity = this;
mWebView.setWebChromeClient(new WebChromeClient() {
+ @Override
public void onProgressChanged(WebView view, int progress) {
activity.setProgress(progress * 100);
}
});
mWebView.setWebViewClient(new WebViewClient() {
+ @Override
public void onReceivedError(WebView view, int errorCode, String description,
String failingUrl) {
Toast.makeText(activity, "Error: " + description, Toast.LENGTH_SHORT).show();

Powered by Google App Engine
This is Rietveld 408576698