summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/PlatformBridge.h
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-02-24 18:09:11 +0000
committerNicolas Roard <nicolas@android.com>2010-02-24 19:21:17 +0000
commit4175d59b46f96005f0c64978b1a94e3fe60f1e8e (patch)
tree9efdec20c3a8c4bfedbe8f0f470dc618f4d578cd /WebCore/platform/android/PlatformBridge.h
parent08d3adc3529e10dc9843cdfee20b4937f38301bd (diff)
downloadexternal_webkit-4175d59b46f96005f0c64978b1a94e3fe60f1e8e.zip
external_webkit-4175d59b46f96005f0c64978b1a94e3fe60f1e8e.tar.gz
external_webkit-4175d59b46f96005f0c64978b1a94e3fe60f1e8e.tar.bz2
Simplify the layer code:
* Rename setRootLayer to setUIRootLayer * Fixed some logs in GraphicsLayerAndroid * Added back the diagonal drawing debug code in LayerAndroid * Simplified ChromeClientAndroid, removed compositingLayerSync()
Diffstat (limited to 'WebCore/platform/android/PlatformBridge.h')
-rw-r--r--WebCore/platform/android/PlatformBridge.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/platform/android/PlatformBridge.h b/WebCore/platform/android/PlatformBridge.h
index 0918fe9..45da526 100644
--- a/WebCore/platform/android/PlatformBridge.h
+++ b/WebCore/platform/android/PlatformBridge.h
@@ -81,6 +81,10 @@ class NPObject;
namespace WebCore {
+#if USE(ACCELERATED_COMPOSITING)
+class LayerAndroid;
+#endif
+
class FrameView;
class Widget;
@@ -121,7 +125,7 @@ public:
#if USE(ACCELERATED_COMPOSITING)
// Those methods are used by the layers system
- static void setRootLayer(const FrameView* view, int layer);
+ static void setUIRootLayer(const FrameView* view, const LayerAndroid* layer);
static void immediateRepaint(const FrameView* view);
#endif // USE(ACCELERATED_COMPOSITING)