From 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Tue, 11 Aug 2009 17:01:47 +0100 Subject: Merge in WebKit r47029. --- WebCore/platform/android/ScreenAndroid.cpp | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'WebCore/platform/android/ScreenAndroid.cpp') diff --git a/WebCore/platform/android/ScreenAndroid.cpp b/WebCore/platform/android/ScreenAndroid.cpp index c1e43b0..2439c1f 100644 --- a/WebCore/platform/android/ScreenAndroid.cpp +++ b/WebCore/platform/android/ScreenAndroid.cpp @@ -97,31 +97,6 @@ FloatRect screenRect(Widget* page) return FloatRect(0.0, 0.0, info.w, info.h); } -/* -Scale functions don't seem to be needed. There is no code that -call them, and they seem to only exist in ports and not in the core -WebKit code - davidc -FloatRect usableScreenRect(Widget* page) -{ - return FloatRect();; -} - -FloatRect scaleScreenRectToPageCoordinates(const FloatRect&, Widget*) -{ - return FloatRect();; -} - -FloatRect scalePageRectToScreenCoordinates(const FloatRect&, Widget*) -{ - return FloatRect();; -} - -float scaleFactor(Widget*) -{ - return 1.0f; -} -*/ - // Similar screenRect, this function is commonly used by javascripts // to position and resize windows (usually to full screen). FloatRect screenAvailableRect(Widget*) @@ -131,4 +106,4 @@ FloatRect screenAvailableRect(Widget*) return FloatRect(0.0, 0.0, info.w, info.h); } -} +} // namespace WebCore -- cgit v1.1