Index: third_party/WebKit/Source/platform/Widget.h |
diff --git a/third_party/WebKit/Source/platform/Widget.h b/third_party/WebKit/Source/platform/Widget.h |
index d4697138afe4d6ed83df721e8767aacb6525734d..757a1d59975d10b26f6d47b571eaa0c3431d1d80 100644 |
--- a/third_party/WebKit/Source/platform/Widget.h |
+++ b/third_party/WebKit/Source/platform/Widget.h |
@@ -30,6 +30,7 @@ |
#include "platform/PlatformExport.h" |
#include "platform/geometry/FloatPoint.h" |
+#include "platform/geometry/FloatRect.h" |
#include "platform/geometry/IntRect.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/WebFocusType.h" |
@@ -100,6 +101,8 @@ public: |
IntRect convertToRootFrame(const IntRect&) const; |
IntRect convertFromRootFrame(const IntRect&) const; |
+ FloatRect convertToRootFrame(const FloatRect&) const; |
+ |
IntPoint convertToRootFrame(const IntPoint&) const; |
IntPoint convertFromRootFrame(const IntPoint&) const; |
FloatPoint convertFromRootFrame(const FloatPoint&) const; |
@@ -111,6 +114,9 @@ public: |
virtual IntRect convertToContainingWidget(const IntRect&) const; |
virtual IntRect convertFromContainingWidget(const IntRect&) const; |
+ |
+ virtual FloatRect convertToContainingWidget(const FloatRect&) const; |
+ |
virtual IntPoint convertToContainingWidget(const IntPoint&) const; |
virtual IntPoint convertFromContainingWidget(const IntPoint&) const; |
@@ -118,6 +124,8 @@ public: |
virtual IntPoint convertChildToSelf(const Widget*, const IntPoint&) const; |
virtual IntPoint convertSelfToChild(const Widget*, const IntPoint&) const; |
+ virtual FloatPoint convertChildToSelf(const Widget*, const FloatPoint&) const; |
+ |
// Notifies this widget that it will no longer be receiving events. |
virtual void eventListenersRemoved() { } |