summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/BaseLayerAndroid.h
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-08-19 11:46:09 -0700
committerNicolas Roard <nicolasroard@google.com>2011-08-19 13:39:26 -0700
commit77e5b594dd717e27b1a8be2b521f738cf5941ae1 (patch)
treef088b9113d8a9043638a0bcd99156e2d5ffc8287 /Source/WebCore/platform/graphics/android/BaseLayerAndroid.h
parent03721d93591244128ff918202425d381e2fedf50 (diff)
downloadexternal_webkit-77e5b594dd717e27b1a8be2b521f738cf5941ae1.zip
external_webkit-77e5b594dd717e27b1a8be2b521f738cf5941ae1.tar.gz
external_webkit-77e5b594dd717e27b1a8be2b521f738cf5941ae1.tar.bz2
Refactoring of BaseLayerAndroid and GLWebViewState:
- we extract the GL set up GLWebViewState - we extract the zoom management to a new ZoomManager class bug:3392331 Change-Id: If42523a7192bab2f8c9d1f00a50721380340230d
Diffstat (limited to 'Source/WebCore/platform/graphics/android/BaseLayerAndroid.h')
-rw-r--r--Source/WebCore/platform/graphics/android/BaseLayerAndroid.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/BaseLayerAndroid.h b/Source/WebCore/platform/graphics/android/BaseLayerAndroid.h
index 62aabb6..35ce24c 100644
--- a/Source/WebCore/platform/graphics/android/BaseLayerAndroid.h
+++ b/Source/WebCore/platform/graphics/android/BaseLayerAndroid.h
@@ -55,9 +55,8 @@ public:
// we are running in different threads.
void drawCanvas(SkCanvas* canvas);
- bool drawGL(LayerAndroid* compositedRoot, IntRect& rect, SkRect& viewport,
- IntRect& webViewRect, int titleBarHeight, IntRect& screenClip,
- float scale, bool* pagesSwapped, SkColor color = SK_ColorWHITE);
+ bool drawGL(double currentTime, LayerAndroid* compositedRoot, IntRect& rect,
+ SkRect& viewport, float scale, bool* pagesSwapped);
void swapExtra(BaseLayerAndroid* base) { m_extra.swap(base->m_extra); }
private:
#if USE(ACCELERATED_COMPOSITING)