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

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

Issue 10911131: Upstream JavaBridge tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding back JavaBridge test files Created 8 years, 3 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
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 72404b226867dbda138c7a7d8f458963054c4e0a..c19293a74db39edbbc33c1ea70feb2c7250da238 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1096,6 +1096,17 @@ public class ContentViewCore implements MotionEventDelegate {
hidePopupDialog();
}
+ @CalledByNative
+ private void onPageStarted() {
+ mAccessibilityInjector.onPageLoadStarted();
+ }
+
+ @CalledByNative
+ private void onPageFinished(String url) {
+ mAccessibilityInjector.injectAccessibilityScriptIntoPage();
+ }
+
+
/**
* @return Whether a reload happens when this ContentView is activated.
*/
@@ -1104,6 +1115,22 @@ public class ContentViewCore implements MotionEventDelegate {
}
/**
+ * @see View#invalidate()
+ */
+ @CalledByNative
+ public void invalidate() {
+ mContainerView.invalidate();
+ }
+
+ /**
+ * @see View#postInvalidate()
+ */
+ @CalledByNative
+ public void postInvalidate() {
+ mContainerView.postInvalidate();
+ }
+
+ /**
* Checks whether the ContentViewCore can be zoomed in.
*
* @return True if the ContentViewCore can be zoomed in.

Powered by Google App Engine
This is Rietveld 408576698