summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/ScreenAndroid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/android/ScreenAndroid.cpp')
-rw-r--r--WebCore/platform/android/ScreenAndroid.cpp27
1 files changed, 1 insertions, 26 deletions
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