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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 23018005: Start renderer in ContentViewCoreImpl::EvaluateJavaScript. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 7 years, 4 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 | « no previous file | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index 19eead167d57843c893c8b5be887d16d585a862c..5ead1f7aac2a52636b6a310b46c3b2fd270c2f92 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1367,7 +1367,7 @@ public class AwContents {
}
/**
- * @see ContentViewCore.evaluateJavaScript(String, ContentViewCOre.JavaScriptCallback)
+ * @see ContentViewCore.evaluateJavaScript(String, ContentViewCore.JavaScriptCallback)
*/
public void evaluateJavaScript(String script, final ValueCallback<String> callback) {
ContentViewCore.JavaScriptCallback jsCallback = null;
@@ -1383,6 +1383,13 @@ public class AwContents {
mContentViewCore.evaluateJavaScript(script, jsCallback);
}
+ /**
+ * @see ContentViewCore.evaluateJavaScriptEvenIfNotYetNavigated(String)
+ */
+ public void evaluateJavaScriptEvenIfNotYetNavigated(String script) {
+ mContentViewCore.evaluateJavaScriptEvenIfNotYetNavigated(script);
+ }
+
//--------------------------------------------------------------------------------------------
// View and ViewGroup method implementations
//--------------------------------------------------------------------------------------------
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698