Index: content/browser/web_contents/web_contents_android.cc |
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc |
index 5e2b1284c7f186f55c9b27d8b0cffa4c0642622a..1c32a9b7f2ca117ac744e0d8b1cec784180c875a 100644 |
--- a/content/browser/web_contents/web_contents_android.cc |
+++ b/content/browser/web_contents/web_contents_android.cc |
@@ -480,4 +480,11 @@ void WebContentsAndroid::AddMessageToDevToolsConsole(JNIEnv* env, |
ConvertJavaStringToUTF8(env, message))); |
} |
+jboolean WebContentsAndroid::HasPageScriptAccessedInitialDocument( |
Ted C
2015/02/23 21:04:08
Exposing this is a layering violation of sorts. W
Charlie Reis
2015/02/23 21:28:04
Actually, why do we need to expose this? In deskt
mnaganov (inactive)
2015/02/23 22:17:55
This is to avoid generating premature / superfluou
mnaganov (inactive)
2015/02/24 11:28:42
I agree, this isn't good, but as I have noted in m
|
+ JNIEnv* env, |
+ jobject jobj) { |
+ return static_cast<content::WebContentsImpl*>(web_contents_)-> |
+ HasAccessedInitialDocument(); |
+} |
+ |
} // namespace content |