diff options
author | Patrick Scott <phanna@android.com> | 2010-12-21 10:36:17 -0500 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2010-12-21 11:40:47 -0500 |
commit | 265109f2150dcc0a619e2273152ea43623fc215a (patch) | |
tree | b3991d2b2fc175c88d8338b64dc9d9cd426e540e /WebCore/page/FrameView.h | |
parent | 8349050efe037c35b231c2f108777bed60d470cc (diff) | |
download | external_webkit-265109f2150dcc0a619e2273152ea43623fc215a.zip external_webkit-265109f2150dcc0a619e2273152ea43623fc215a.tar.gz external_webkit-265109f2150dcc0a619e2273152ea43623fc215a.tar.bz2 |
Fix iframe scrolling.
Do the same check everywhere for enabling scrolling in an iframe. Make sure the
owner renderer is a RenderIFrame to avoid trying to composite an embedded
object. Also check if the owner layer has visible content since some iframes
are marked hidden.
Dirty the parent normal flow list when turning on overflow scrolling for divs.
Bug: 3280851
Bug: 3290276
Change-Id: I8d0a49324e06426c15abaf552874a32d6e2ee11a
Diffstat (limited to 'WebCore/page/FrameView.h')
-rw-r--r-- | WebCore/page/FrameView.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/page/FrameView.h b/WebCore/page/FrameView.h index 8a1a071..87924b2 100644 --- a/WebCore/page/FrameView.h +++ b/WebCore/page/FrameView.h @@ -104,6 +104,9 @@ public: // Called when changes to the GraphicsLayer hierarchy have to be synchronized with // content rendered via the normal painting path. void setNeedsOneShotDrawingSynchronization(); +#if ENABLE(ANDROID_OVERFLOW_SCROLL) + bool hasOverflowScroll() const; +#endif #endif bool hasCompositedContent() const; |