summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-03-16 20:34:40 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-03-16 20:34:40 -0700
commitb0c2f7b33106420933e04a3b0a69ca4d1d1b3fd8 (patch)
tree3e56539494fa5c5096ca2d5055ad3c7c45081061 /WebCore/platform
parentd68483b2c8871634da4f12a5c7c272c47ee8e646 (diff)
parent15e726c96b7c81e9bbacac36d6abdff2eea4f44e (diff)
downloadexternal_webkit-b0c2f7b33106420933e04a3b0a69ca4d1d1b3fd8.zip
external_webkit-b0c2f7b33106420933e04a3b0a69ca4d1d1b3fd8.tar.gz
external_webkit-b0c2f7b33106420933e04a3b0a69ca4d1d1b3fd8.tar.bz2
Merge "Compute the position of the fixed elements to be relative to the screen and not the virtual viewport."
Diffstat (limited to 'WebCore/platform')
-rw-r--r--WebCore/platform/android/PlatformBridge.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/platform/android/PlatformBridge.h b/WebCore/platform/android/PlatformBridge.h
index 45da526..43313a5 100644
--- a/WebCore/platform/android/PlatformBridge.h
+++ b/WebCore/platform/android/PlatformBridge.h
@@ -128,6 +128,8 @@ public:
static void setUIRootLayer(const FrameView* view, const LayerAndroid* layer);
static void immediateRepaint(const FrameView* view);
#endif // USE(ACCELERATED_COMPOSITING)
+ static int screenWidth(const FrameView* view);
+ static int screenHeight(const FrameView* view);
// Whether the WebView is paused.
// ANDROID