diff options
author | Nicolas Roard <nicolas@android.com> | 2010-03-16 20:34:40 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-03-16 20:34:40 -0700 |
commit | b0c2f7b33106420933e04a3b0a69ca4d1d1b3fd8 (patch) | |
tree | 3e56539494fa5c5096ca2d5055ad3c7c45081061 /WebCore/platform | |
parent | d68483b2c8871634da4f12a5c7c272c47ee8e646 (diff) | |
parent | 15e726c96b7c81e9bbacac36d6abdff2eea4f44e (diff) | |
download | external_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.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 |