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

Unified Diff: content/components/web_contents_delegate_android/java/src/org/chromium/content/components/web_contents_delegate_android/WebContentsDelegateAndroid.java

Issue 11365199: Move WebContentsDelegateAndroid to content/components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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
Index: content/components/web_contents_delegate_android/java/src/org/chromium/content/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
diff --git a/chrome/browser/component/web_contents_delegate_android/java/src/org/chromium/chrome/browser/component/web_contents_delegate_android/WebContentsDelegateAndroid.java b/content/components/web_contents_delegate_android/java/src/org/chromium/content/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
similarity index 93%
rename from chrome/browser/component/web_contents_delegate_android/java/src/org/chromium/chrome/browser/component/web_contents_delegate_android/WebContentsDelegateAndroid.java
rename to content/components/web_contents_delegate_android/java/src/org/chromium/content/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
index f6096371fe81b3a6af70021b28c335d461753c30..1fc468724fb4e77dd7718891ac87da29fa42f16c 100644
--- a/chrome/browser/component/web_contents_delegate_android/java/src/org/chromium/chrome/browser/component/web_contents_delegate_android/WebContentsDelegateAndroid.java
+++ b/content/components/web_contents_delegate_android/java/src/org/chromium/content/components/web_contents_delegate_android/WebContentsDelegateAndroid.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.chrome.browser.component.web_contents_delegate_android;
+package org.chromium.content.components.web_contents_delegate_android;
import android.graphics.Rect;
import android.view.KeyEvent;
@@ -14,7 +14,7 @@ import org.chromium.content.browser.ContentViewCore;
/**
* Java peer of the native class of the same name.
*/
-@JNINamespace("web_contents_delegate_android")
+@JNINamespace("content")
public class WebContentsDelegateAndroid {
// Equivalent of WebCore::WebConsoleMessage::LevelTip.
@@ -83,11 +83,6 @@ public class WebContentsDelegateAndroid {
}
@CalledByNative
- public boolean shouldOverrideUrlLoading(String url) {
- return false;
- }
-
- @CalledByNative
public void handleKeyboardEvent(KeyEvent event) {
// TODO(bulach): we probably want to re-inject the KeyEvent back into
// the system. Investigate if this is at all possible.

Powered by Google App Engine
This is Rietveld 408576698