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. |