OLD | NEW |
---|---|
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, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved. |
6 * Copyright (C) 2013 Samsung Electronics. All rights reserved. | 6 * Copyright (C) 2013 Samsung Electronics. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
69 , m_railsMode(RailsModeFree) | 69 , m_railsMode(RailsModeFree) |
70 { | 70 { |
71 } | 71 } |
72 | 72 |
73 WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode, | 73 WheelEvent::WheelEvent(const FloatPoint& wheelTicks, const FloatPoint& rawDelta, unsigned deltaMode, |
74 PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, c onst IntPoint& windowLocation, | 74 PassRefPtrWillBeRawPtr<AbstractView> view, const IntPoint& screenLocation, c onst IntPoint& windowLocation, |
75 PlatformEvent::Modifiers modifiers, unsigned short buttons, double platformT imeStamp, | 75 PlatformEvent::Modifiers modifiers, unsigned short buttons, double platformT imeStamp, |
76 bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, Rails Mode railsMode) | 76 bool canScroll, int resendingPluginId, bool hasPreciseScrollingDeltas, Rails Mode railsMode) |
77 : MouseEvent(EventTypeNames::wheel, true, true, view, 0, screenLocation.x(), screenLocation.y(), | 77 : MouseEvent(EventTypeNames::wheel, true, true, view, 0, screenLocation.x(), screenLocation.y(), |
78 windowLocation.x(), windowLocation.y(), 0, 0, modifiers, 0, buttons, | 78 windowLocation.x(), windowLocation.y(), 0, 0, modifiers, 0, buttons, |
79 nullptr, platformTimeStamp, PlatformMouseEvent::RealOrIndistinguishable) | 79 nullptr, platformTimeStamp, PlatformMouseEvent::RealOrIndistinguishable, String()) |
Rick Byers
2016/03/10 21:36:29
as discussed this is a bug, but may not be too imp
zino
2016/03/11 09:35:47
Done.
| |
80 , m_wheelDelta(wheelTicks.x() * TickMultiplier, wheelTicks.y() * TickMultipl ier) | 80 , m_wheelDelta(wheelTicks.x() * TickMultiplier, wheelTicks.y() * TickMultipl ier) |
81 , m_deltaX(-rawDelta.x()) | 81 , m_deltaX(-rawDelta.x()) |
82 , m_deltaY(-rawDelta.y()) | 82 , m_deltaY(-rawDelta.y()) |
83 , m_deltaZ(0) | 83 , m_deltaZ(0) |
84 , m_deltaMode(deltaMode) | 84 , m_deltaMode(deltaMode) |
85 , m_canScroll(canScroll) | 85 , m_canScroll(canScroll) |
86 , m_resendingPluginId(resendingPluginId) | 86 , m_resendingPluginId(resendingPluginId) |
87 , m_hasPreciseScrollingDeltas(hasPreciseScrollingDeltas) | 87 , m_hasPreciseScrollingDeltas(hasPreciseScrollingDeltas) |
88 , m_railsMode(railsMode) | 88 , m_railsMode(railsMode) |
89 { | 89 { |
(...skipping 18 matching lines...) Expand all Loading... | |
108 { | 108 { |
109 return EventDispatchMediator::create(this); | 109 return EventDispatchMediator::create(this); |
110 } | 110 } |
111 | 111 |
112 DEFINE_TRACE(WheelEvent) | 112 DEFINE_TRACE(WheelEvent) |
113 { | 113 { |
114 MouseEvent::trace(visitor); | 114 MouseEvent::trace(visitor); |
115 } | 115 } |
116 | 116 |
117 } // namespace blink | 117 } // namespace blink |
OLD | NEW |