diff options
author | Patrick Scott <phanna@android.com> | 2010-08-13 16:17:40 -0400 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2010-08-16 12:39:44 -0400 |
commit | 726264480d16a18c02f405aff63a32ba06fb0476 (patch) | |
tree | 97f7b473af2ce50a7165849008c1a4f385da3c5f /WebKit/android/nav/CacheBuilder.h | |
parent | a01792f8060881461b672472ba3dfdd77044e0a5 (diff) | |
download | external_webkit-726264480d16a18c02f405aff63a32ba06fb0476.zip external_webkit-726264480d16a18c02f405aff63a32ba06fb0476.tar.gz external_webkit-726264480d16a18c02f405aff63a32ba06fb0476.tar.bz2 |
Update navigation in scrollable layers.
Set the foreground clip after drawing. Use the absolute bounds to
compute the local foreground clip in order to compensate for any
outline.
Consolidate the check for overflow scrolling into RenderLayer.
Request a compositing update after computing the scroll dimensions.
Only change the foregroundRect of the layer during paint so that the
outline rect (and background/layerBounds) are correct.
Draw the outline as part of the background phase. During painting of
a layer, scroll to (0,0), paint, then scroll back.
When clicking on an element in a layer, scroll to the position of the
element but do not scroll back. This makes text input fields visible
to the tree and will properly update when typing. Record the original
scroll position of layers in order to offset the bounds of nodes when
checking the nav cache. Make sure to reset all cached layers during
setRootLayer. Otherwise we were reaching into layers from the wrong
thread.
Change-Id: Id9827ec461989b0869a8252d4d2563ecd12c5fac
Diffstat (limited to 'WebKit/android/nav/CacheBuilder.h')
-rw-r--r-- | WebKit/android/nav/CacheBuilder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/WebKit/android/nav/CacheBuilder.h b/WebKit/android/nav/CacheBuilder.h index 5324187..d19e0c9 100644 --- a/WebKit/android/nav/CacheBuilder.h +++ b/WebKit/android/nav/CacheBuilder.h @@ -198,6 +198,7 @@ private: }; struct LayerTracker : Tracker { LayerAndroid* mLayer; + RenderLayer* mRenderLayer; IntRect mBounds; }; struct TabIndexTracker : Tracker { |