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

Side by Side Diff: third_party/WebKit/Source/core/events/GestureEvent.cpp

Issue 2542693002: Use WTF::TimeTicks to represent timestamp in Platform/Core event types (Closed)
Patch Set: rebase Created 4 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 int clientX, 129 int clientX,
130 int clientY, 130 int clientY,
131 PlatformEvent::Modifiers modifiers, 131 PlatformEvent::Modifiers modifiers,
132 float deltaX, 132 float deltaX,
133 float deltaY, 133 float deltaY,
134 float velocityX, 134 float velocityX,
135 float velocityY, 135 float velocityY,
136 ScrollInertialPhase inertialPhase, 136 ScrollInertialPhase inertialPhase,
137 bool synthetic, 137 bool synthetic,
138 ScrollGranularity deltaUnits, 138 ScrollGranularity deltaUnits,
139 double platformTimeStamp, 139 TimeTicks platformTimeStamp,
140 int resendingPluginId, 140 int resendingPluginId,
141 GestureSource source) 141 GestureSource source)
142 : MouseRelatedEvent(type, 142 : MouseRelatedEvent(type,
143 true, 143 true,
144 true, 144 true,
145 view, 145 view,
146 0, 146 0,
147 IntPoint(screenX, screenY), 147 IntPoint(screenX, screenY),
148 IntPoint(clientX, clientY), 148 IntPoint(clientX, clientY),
149 IntPoint(0, 0), 149 IntPoint(0, 0),
150 modifiers, 150 modifiers,
151 platformTimeStamp, 151 platformTimeStamp,
152 PositionType::Position), 152 PositionType::Position),
153 m_deltaX(deltaX), 153 m_deltaX(deltaX),
154 m_deltaY(deltaY), 154 m_deltaY(deltaY),
155 m_velocityX(velocityX), 155 m_velocityX(velocityX),
156 m_velocityY(velocityY), 156 m_velocityY(velocityY),
157 m_inertialPhase(inertialPhase), 157 m_inertialPhase(inertialPhase),
158 m_synthetic(synthetic), 158 m_synthetic(synthetic),
159 m_deltaUnits(deltaUnits), 159 m_deltaUnits(deltaUnits),
160 m_source(source), 160 m_source(source),
161 m_resendingPluginId(resendingPluginId) {} 161 m_resendingPluginId(resendingPluginId) {}
162 162
163 DEFINE_TRACE(GestureEvent) { 163 DEFINE_TRACE(GestureEvent) {
164 MouseRelatedEvent::trace(visitor); 164 MouseRelatedEvent::trace(visitor);
165 } 165 }
166 166
167 } // namespace blink 167 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/GestureEvent.h ('k') | third_party/WebKit/Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698