Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1937)

Unified Diff: Source/platform/PlatformScreen.h

Issue 879913003: Use IntRect instead of FloatRect for window positions and sizes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added FIXME comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/PlatformScreen.h
diff --git a/Source/platform/PlatformScreen.h b/Source/platform/PlatformScreen.h
index 431ff06c2aa0f5126ed0aed6d3d8057aee28425a..490bfe05ad115d5271d5f40300bf2f7d5f56f626 100644
--- a/Source/platform/PlatformScreen.h
+++ b/Source/platform/PlatformScreen.h
@@ -26,7 +26,7 @@
#ifndef PlatformScreen_h
#define PlatformScreen_h
-#include "platform/geometry/FloatRect.h"
+#include "platform/geometry/IntRect.h"
#include "public/platform/WebScreenOrientationType.h"
#include "wtf/Forward.h"
#include "wtf/RefPtr.h"
@@ -39,8 +39,8 @@ PLATFORM_EXPORT int screenDepth(Widget*);
PLATFORM_EXPORT int screenDepthPerComponent(Widget*);
PLATFORM_EXPORT bool screenIsMonochrome(Widget*);
-PLATFORM_EXPORT FloatRect screenRect(Widget*);
-PLATFORM_EXPORT FloatRect screenAvailableRect(Widget*);
+PLATFORM_EXPORT IntRect screenRect(Widget*);
+PLATFORM_EXPORT IntRect screenAvailableRect(Widget*);
PLATFORM_EXPORT uint16_t screenOrientationAngle(Widget*);
PLATFORM_EXPORT WebScreenOrientationType screenOrientationType(Widget*);
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationController.cpp ('k') | Source/platform/PlatformScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698