diff options
author | Steve Block <steveblock@google.com> | 2011-09-21 15:43:37 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-09-22 22:57:10 +0100 |
commit | 8782ca1236bac0bb13e08a6b63f8743e0b01e75a (patch) | |
tree | b3bf345515df5bf26b7df393ac4458c9dd57be86 /Source/WebKit/android/nav/CachedRoot.h | |
parent | 06ab37f33e994114ce0ec9fbb35fe48249ed6dbc (diff) | |
download | external_webkit-8782ca1236bac0bb13e08a6b63f8743e0b01e75a.zip external_webkit-8782ca1236bac0bb13e08a6b63f8743e0b01e75a.tar.gz external_webkit-8782ca1236bac0bb13e08a6b63f8743e0b01e75a.tar.bz2 |
Fix find-in-page to scroll scrollable layers
This requires the addition of the following methods ...
- Layer::contentIsScrollable()
- Layer::localToParent()
- ScrollableLayerAndroid::scrollRectIntoView()
Bug: 5262656
Change-Id: I2f1cf3342f73890f98a172f1b4e3f440c02dd9f4
Diffstat (limited to 'Source/WebKit/android/nav/CachedRoot.h')
-rw-r--r-- | Source/WebKit/android/nav/CachedRoot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/nav/CachedRoot.h b/Source/WebKit/android/nav/CachedRoot.h index 45fc27a..65c6062 100644 --- a/Source/WebKit/android/nav/CachedRoot.h +++ b/Source/WebKit/android/nav/CachedRoot.h @@ -89,7 +89,7 @@ public: return pictureAt(xPtr, yPtr, 0); } void reset(); CachedHistory* rootHistory() const { return mHistory; } - const WebCore::LayerAndroid* rootLayer() const { return mRootLayer; } + WebCore::LayerAndroid* rootLayer() const { return mRootLayer; } bool scrollDelta(WebCore::IntRect& cursorRingBounds, Direction , int* delta); const WebCore::IntRect& scrolledBounds() const { return mScrolledBounds; } void setCursor(CachedFrame* , CachedNode* ); |