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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java

Issue 2803163002: Move address parser and prefixes to android_webview/. (Closed)
Patch Set: Bring back ContentViewStatics import Created 3 years, 8 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
« no previous file with comments | « content/common/android/address_parser_unittest.cc ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java
index e9f7dfb122b6749db7c94bb37ae16fbf17b72977..b4f4f0e81238180ce78baec3672a769acd48e7fa 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewStatics.java
@@ -10,22 +10,6 @@ import org.chromium.net.ProxyChangeListener;
* Implementations of various static methods.
*/
public class ContentViewStatics {
-
- /**
- * Return the first substring consisting of the address of a physical location.
- * @see {@link android.webkit.WebView#findAddress(String)}
- *
- * @param addr The string to search for addresses.
- * @return the address, or if no address is found, return null.
- */
- public static String findAddress(String addr) {
- if (addr == null) {
- throw new NullPointerException("addr is null");
- }
- String result = nativeFindAddress(addr);
- return result == null || result.isEmpty() ? null : result;
- }
-
/**
* Suspends Webkit timers in all renderers.
* New renderers created after this call will be created with the
@@ -55,7 +39,5 @@ public class ContentViewStatics {
// Native functions
- private static native String nativeFindAddress(String addr);
-
private static native void nativeSetWebKitSharedTimersSuspended(boolean suspend);
}
« no previous file with comments | « content/common/android/address_parser_unittest.cc ('k') | content/public/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698