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

Side by Side Diff: sky/engine/core/events/MouseRelatedEvent.h

Issue 723253004: Remove tons of OILPAN. (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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/events/MouseEvent.cpp ('k') | sky/engine/core/events/MouseRelatedEvent.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2001 Peter Kelly (pmk@post.com) 2 * Copyright (C) 2001 Peter Kelly (pmk@post.com)
3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) 3 * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc. 5 * Copyright (C) 2003, 2004, 2005, 2006 Apple Computer, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual int pageX() const override final; 51 virtual int pageX() const override final;
52 virtual int pageY() const override final; 52 virtual int pageY() const override final;
53 int x() const; 53 int x() const;
54 int y() const; 54 int y() const;
55 55
56 // Page point in "absolute" coordinates (i.e. page-relative coords, 56 // Page point in "absolute" coordinates (i.e. page-relative coords,
57 // usable with RenderObject::absoluteToLocal). 57 // usable with RenderObject::absoluteToLocal).
58 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } 58 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
59 void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; } 59 void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; }
60 60
61 virtual void trace(Visitor*) override;
62
63 protected: 61 protected:
64 MouseRelatedEvent(); 62 MouseRelatedEvent();
65 MouseRelatedEvent(const AtomicString& type, bool canBubble, bool cancela ble, 63 MouseRelatedEvent(const AtomicString& type, bool canBubble, bool cancela ble,
66 PassRefPtr<AbstractView>, int detail, const IntPoint& screenLocation , 64 PassRefPtr<AbstractView>, int detail, const IntPoint& screenLocation ,
67 const IntPoint& windowLocation, const IntPoint& movementDelta, bool ctrlKey, bool altKey, 65 const IntPoint& windowLocation, const IntPoint& movementDelta, bool ctrlKey, bool altKey,
68 bool shiftKey, bool metaKey, bool isSimulated = false); 66 bool shiftKey, bool metaKey, bool isSimulated = false);
69 67
70 void initCoordinates(); 68 void initCoordinates();
71 void initCoordinates(const LayoutPoint& clientLocation); 69 void initCoordinates(const LayoutPoint& clientLocation);
72 virtual void receivedTarget() override final; 70 virtual void receivedTarget() override final;
(...skipping 11 matching lines...) Expand all
84 LayoutPoint m_layerLocation; 82 LayoutPoint m_layerLocation;
85 LayoutPoint m_offsetLocation; 83 LayoutPoint m_offsetLocation;
86 LayoutPoint m_absoluteLocation; 84 LayoutPoint m_absoluteLocation;
87 bool m_isSimulated; 85 bool m_isSimulated;
88 bool m_hasCachedRelativePosition; 86 bool m_hasCachedRelativePosition;
89 }; 87 };
90 88
91 } // namespace blink 89 } // namespace blink
92 90
93 #endif // MouseRelatedEvent_h 91 #endif // MouseRelatedEvent_h
OLDNEW
« no previous file with comments | « sky/engine/core/events/MouseEvent.cpp ('k') | sky/engine/core/events/MouseRelatedEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698