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

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

Issue 22887040: Merge 218265 "[android_webview] Implement requestChildRectangleO..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1599/src/
Patch Set: 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 | android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java » ('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
===================================================================
--- android_webview/java/src/org/chromium/android_webview/AwContents.java (revision 219114)
+++ android_webview/java/src/org/chromium/android_webview/AwContents.java (working copy)
@@ -993,6 +993,15 @@
}
/**
+ * @see WebView#requestChildRectangleOnScreen(View, Rect, boolean)
+ */
+ public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) {
+ return mScrollOffsetManager.requestChildRectangleOnScreen(
+ child.getLeft() - child.getScrollX(), child.getTop() - child.getScrollY(),
+ rect, immediate);
+ }
+
+ /**
* @see View.computeScroll()
*/
public void computeScroll() {
« no previous file with comments | « no previous file | android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698