| OLD | NEW |
| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 , m_velocityY(0) | 121 , m_velocityY(0) |
| 122 , m_inertialPhase(ScrollInertialPhase::ScrollInertialPhaseUnknown) | 122 , m_inertialPhase(ScrollInertialPhase::ScrollInertialPhaseUnknown) |
| 123 , m_synthetic(false) | 123 , m_synthetic(false) |
| 124 , m_deltaUnits(ScrollGranularity::ScrollByPrecisePixel) | 124 , m_deltaUnits(ScrollGranularity::ScrollByPrecisePixel) |
| 125 , m_source(GestureSourceUninitialized) | 125 , m_source(GestureSourceUninitialized) |
| 126 , m_resendingPluginId(-1) | 126 , m_resendingPluginId(-1) |
| 127 { | 127 { |
| 128 } | 128 } |
| 129 | 129 |
| 130 GestureEvent::GestureEvent(const AtomicString& type, AbstractView* view, int scr
eenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers modifiers,
float deltaX, float deltaY, float velocityX, float velocityY, ScrollInertialPha
se inertialPhase, bool synthetic, ScrollGranularity deltaUnits, double platformT
imeStamp, int resendingPluginId, GestureSource source) | 130 GestureEvent::GestureEvent(const AtomicString& type, AbstractView* view, int scr
eenX, int screenY, int clientX, int clientY, PlatformEvent::Modifiers modifiers,
float deltaX, float deltaY, float velocityX, float velocityY, ScrollInertialPha
se inertialPhase, bool synthetic, ScrollGranularity deltaUnits, double platformT
imeStamp, int resendingPluginId, GestureSource source) |
| 131 : MouseRelatedEvent(type, true, true, nullptr, view, 0, IntPoint(screenX, sc
reenY), IntPoint(clientX, clientY), IntPoint(0, 0), modifiers, platformTimeStamp
, PositionType::Position) | 131 : MouseRelatedEvent(type, true, true, view, 0, IntPoint(screenX, screenY), I
ntPoint(clientX, clientY), IntPoint(0, 0), modifiers, platformTimeStamp, Positio
nType::Position) |
| 132 , m_deltaX(deltaX) | 132 , m_deltaX(deltaX) |
| 133 , m_deltaY(deltaY) | 133 , m_deltaY(deltaY) |
| 134 , m_velocityX(velocityX) | 134 , m_velocityX(velocityX) |
| 135 , m_velocityY(velocityY) | 135 , m_velocityY(velocityY) |
| 136 , m_inertialPhase(inertialPhase) | 136 , m_inertialPhase(inertialPhase) |
| 137 , m_synthetic(synthetic) | 137 , m_synthetic(synthetic) |
| 138 , m_deltaUnits(deltaUnits) | 138 , m_deltaUnits(deltaUnits) |
| 139 , m_source(source) | 139 , m_source(source) |
| 140 , m_resendingPluginId(resendingPluginId) | 140 , m_resendingPluginId(resendingPluginId) |
| 141 { | 141 { |
| 142 } | 142 } |
| 143 | 143 |
| 144 DEFINE_TRACE(GestureEvent) | 144 DEFINE_TRACE(GestureEvent) |
| 145 { | 145 { |
| 146 MouseRelatedEvent::trace(visitor); | 146 MouseRelatedEvent::trace(visitor); |
| 147 } | 147 } |
| 148 | 148 |
| 149 } // namespace blink | 149 } // namespace blink |
| OLD | NEW |