summaryrefslogtreecommitdiffstats
path: root/WebCore/platform
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-03-17 02:06:20 +0000
committerNicolas Roard <nicolas@android.com>2010-03-17 03:32:19 +0000
commit15e726c96b7c81e9bbacac36d6abdff2eea4f44e (patch)
tree351bc86c6643c0aefcc1af40f90782647100021d /WebCore/platform
parent1d7ddf2fb889b97549e1041bbbf53e481b4ced2c (diff)
downloadexternal_webkit-15e726c96b7c81e9bbacac36d6abdff2eea4f44e.zip
external_webkit-15e726c96b7c81e9bbacac36d6abdff2eea4f44e.tar.gz
external_webkit-15e726c96b7c81e9bbacac36d6abdff2eea4f44e.tar.bz2
Compute the position of the fixed elements to be relative to the
screen and not the virtual viewport. This fixes Bug:2515587 and Bug:2457215 Change-Id: Ib987787cf9bf74b760b857dbbb397f85af334dce
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