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

Unified Diff: sky/engine/core/events/MouseRelatedEvent.h

Issue 714783003: Remove some straggling zoom-related code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/events/EventTypeNames.in ('k') | sky/engine/core/rendering/ImageQualityController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/MouseRelatedEvent.h
diff --git a/sky/engine/core/events/MouseRelatedEvent.h b/sky/engine/core/events/MouseRelatedEvent.h
index 31180f449440d164ecfe2177f4d6ae79371b409c..c5548df7e0c6a4c8283b958a9df78445545eead6 100644
--- a/sky/engine/core/events/MouseRelatedEvent.h
+++ b/sky/engine/core/events/MouseRelatedEvent.h
@@ -32,8 +32,6 @@ namespace blink {
// Internal only: Helper class for what's common between mouse and wheel events.
class MouseRelatedEvent : public UIEventWithKeyState {
public:
- // Note that these values are adjusted to counter the effects of zoom, so that values
- // exposed via DOM APIs are invariant under zooming.
int screenX() const { return m_screenLocation.x(); }
int screenY() const { return m_screenLocation.y(); }
const IntPoint& screenLocation() const { return m_screenLocation; }
@@ -55,7 +53,7 @@ namespace blink {
int x() const;
int y() const;
- // Page point in "absolute" coordinates (i.e. post-zoomed, page-relative coords,
+ // Page point in "absolute" coordinates (i.e. page-relative coords,
// usable with RenderObject::absoluteToLocal).
const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; }
« no previous file with comments | « sky/engine/core/events/EventTypeNames.in ('k') | sky/engine/core/rendering/ImageQualityController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698