diff options
author | Chris Craik <ccraik@google.com> | 2012-04-09 17:56:59 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-04-10 10:41:11 -0700 |
commit | 75fc360d144b97f5e50bedf7ed3222898cc56446 (patch) | |
tree | 0f295dac8cb8fec8798285f5e62efa4cd91d2caf /Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h | |
parent | 98e8504d9f510b8cbaca1b0144efea3a4d1a8eec (diff) | |
download | external_webkit-75fc360d144b97f5e50bedf7ed3222898cc56446.zip external_webkit-75fc360d144b97f5e50bedf7ed3222898cc56446.tar.gz external_webkit-75fc360d144b97f5e50bedf7ed3222898cc56446.tar.bz2 |
Expand base layer bounds to fill viewport
Additionally, paint area outside the content bounds with content bg color in
software rendering path.
bug:6304213
Change-Id: I6fe5246e82d30fe000e570c8dccb605d46fc428d
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h b/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h index 0ef39c8..f4cf9f3 100644 --- a/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h @@ -49,6 +49,8 @@ public: virtual void getLocalTransform(SkMatrix* matrix) const; virtual const TransformationMatrix* drawTransform() const { return 0; } + virtual IFrameLayerAndroid* updatePosition(SkRect viewport, + IFrameLayerAndroid* parentIframeLayer); private: // TODO: move to SurfaceCollection. Color m_color; |