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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java

Issue 98853009: Fixing Java style issues in android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bo's nits Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview; 5 package org.chromium.android_webview;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.view.KeyEvent; 8 import android.view.KeyEvent;
9 import android.view.View; 9 import android.view.View;
10 import android.webkit.URLUtil; 10 import android.webkit.URLUtil;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 public void onUpdateTitle(String title) { 67 public void onUpdateTitle(String title) {
68 mAwContentsClient.onReceivedTitle(title); 68 mAwContentsClient.onReceivedTitle(title);
69 } 69 }
70 70
71 @Override 71 @Override
72 public boolean shouldOverrideKeyEvent(KeyEvent event) { 72 public boolean shouldOverrideKeyEvent(KeyEvent event) {
73 return mAwContentsClient.shouldOverrideKeyEvent(event); 73 return mAwContentsClient.shouldOverrideKeyEvent(event);
74 } 74 }
75 75
76 @Override 76 @Override
77 final public ContentVideoViewClient getContentVideoViewClient() { 77 public final ContentVideoViewClient getContentVideoViewClient() {
78 return new AwContentVideoViewClient(); 78 return new AwContentVideoViewClient();
79 } 79 }
80 80
81 @Override 81 @Override
82 public boolean shouldBlockMediaRequest(String url) { 82 public boolean shouldBlockMediaRequest(String url) {
83 return mAwSettings != null ? 83 return mAwSettings != null ?
84 mAwSettings.getBlockNetworkLoads() && URLUtil.isNetworkUrl(url) : true; 84 mAwSettings.getBlockNetworkLoads() && URLUtil.isNetworkUrl(url) : true;
85 } 85 }
86 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698