diff options
author | Nicolas Roard <nicolas@android.com> | 2010-03-17 02:06:20 +0000 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-03-17 03:32:19 +0000 |
commit | 15e726c96b7c81e9bbacac36d6abdff2eea4f44e (patch) | |
tree | 351bc86c6643c0aefcc1af40f90782647100021d /WebCore/platform | |
parent | 1d7ddf2fb889b97549e1041bbbf53e481b4ced2c (diff) | |
download | external_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.h | 2 |
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 |