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

Unified Diff: Source/core/loader/EmptyClients.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
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/EmptyClients.h
diff --git a/Source/core/loader/EmptyClients.h b/Source/core/loader/EmptyClients.h
index 7b893b3edb027d598aed548c8a0f56ba1e282e85..3dce7deeae2480c197b2d95b7a3b44ac20c787c2 100644
--- a/Source/core/loader/EmptyClients.h
+++ b/Source/core/loader/EmptyClients.h
@@ -39,7 +39,7 @@
#include "core/page/Page.h"
#include "core/page/SpellCheckerClient.h"
#include "platform/DragImage.h"
-#include "platform/geometry/FloatRect.h"
+#include "platform/geometry/IntRect.h"
#include "platform/heap/Handle.h"
#include "platform/network/ResourceError.h"
#include "platform/text/TextCheckerClient.h"
@@ -70,10 +70,10 @@ public:
virtual void chromeDestroyed() override { }
virtual void* webView() const override { return 0; }
- virtual void setWindowRect(const FloatRect&) override { }
- virtual FloatRect windowRect() override { return FloatRect(); }
+ virtual void setWindowRect(const IntRect&) override { }
+ virtual IntRect windowRect() override { return IntRect(); }
- virtual FloatRect pageRect() override { return FloatRect(); }
+ virtual IntRect pageRect() override { return IntRect(); }
virtual void focus() override { }
« no previous file with comments | « Source/core/frame/Window.idl ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698