Chromium Code Reviews| Index: third_party/WebKit/Source/platform/HostWindow.h |
| diff --git a/third_party/WebKit/Source/platform/HostWindow.h b/third_party/WebKit/Source/platform/HostWindow.h |
| index 7dbe72b146bb0ea4819723e0c9443b9237bdf1c1..8abb4986a2f45a250b42d31b291f1a7825ca623b 100644 |
| --- a/third_party/WebKit/Source/platform/HostWindow.h |
| +++ b/third_party/WebKit/Source/platform/HostWindow.h |
| @@ -47,9 +47,12 @@ public: |
| // Requests the host invalidate the contents. |
| virtual void invalidateRect(const IntRect& updateRect) = 0; |
| - // Converts from the window coordinates to screen coordinates. |
| + // Converts the rect from the viewport coordinates to screen coordinates. |
| virtual IntRect viewportToScreen(const IntRect&) const = 0; |
| + // Converts the length in screen coordinates to the viewport coordinates. |
|
skobes
2016/01/13 23:46:00
"in" -> "from"
oshima
2016/01/13 23:56:45
Done.
|
| + virtual float screenToViewport(float length) const = 0; |
| + |
| virtual void scheduleAnimation(Widget*) = 0; |
| }; |