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

Side by Side Diff: sky/engine/core/dom/Touch.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/dom/TemplateContentDocumentFragment.h ('k') | sky/engine/core/dom/Touch.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 2008, The Android Open Source Project 2 * Copyright 2008, The Android Open Source Project
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 double radiusX() const { return m_radius.width(); } 63 double radiusX() const { return m_radius.width(); }
64 double radiusY() const { return m_radius.height(); } 64 double radiusY() const { return m_radius.height(); }
65 float rotationAngle() const { return m_rotationAngle; } 65 float rotationAngle() const { return m_rotationAngle; }
66 float force() const { return m_force; } 66 float force() const { return m_force; }
67 67
68 // Blink-internal methods 68 // Blink-internal methods
69 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; } 69 const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
70 const FloatPoint& screenLocation() const { return m_screenPos; } 70 const FloatPoint& screenLocation() const { return m_screenPos; }
71 PassRefPtr<Touch> cloneWithNewTarget(EventTarget*) const; 71 PassRefPtr<Touch> cloneWithNewTarget(EventTarget*) const;
72 72
73 void trace(Visitor*);
74
75 private: 73 private:
76 Touch(LocalFrame* frame, EventTarget* target, unsigned identifier, 74 Touch(LocalFrame* frame, EventTarget* target, unsigned identifier,
77 const FloatPoint& screenPos, const FloatPoint& pagePos, 75 const FloatPoint& screenPos, const FloatPoint& pagePos,
78 const FloatSize& radius, float rotationAngle, float force); 76 const FloatSize& radius, float rotationAngle, float force);
79 77
80 Touch(EventTarget*, unsigned identifier, const FloatPoint& clientPos, 78 Touch(EventTarget*, unsigned identifier, const FloatPoint& clientPos,
81 const FloatPoint& screenPos, const FloatPoint& pagePos, 79 const FloatPoint& screenPos, const FloatPoint& pagePos,
82 const FloatSize& radius, float rotationAngle, float force, LayoutPoint a bsoluteLocation); 80 const FloatSize& radius, float rotationAngle, float force, LayoutPoint a bsoluteLocation);
83 81
84 RefPtr<EventTarget> m_target; 82 RefPtr<EventTarget> m_target;
(...skipping 10 matching lines...) Expand all
95 float m_force; 93 float m_force;
96 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos 94 // FIXME(rbyers): Shouldn't we be able to migrate callers to relying on scre enPos, pagePos
97 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser 95 // or clientPos? absoluteLocation appears to be the same as pagePos but with out browser
98 // scale applied. 96 // scale applied.
99 LayoutPoint m_absoluteLocation; 97 LayoutPoint m_absoluteLocation;
100 }; 98 };
101 99
102 } // namespace blink 100 } // namespace blink
103 101
104 #endif // Touch_h 102 #endif // Touch_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/TemplateContentDocumentFragment.h ('k') | sky/engine/core/dom/Touch.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698