| 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 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved. |
| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 MouseRelatedEvent::MouseRelatedEvent( | 53 MouseRelatedEvent::MouseRelatedEvent( |
| 54 const AtomicString& eventType, | 54 const AtomicString& eventType, |
| 55 bool canBubble, | 55 bool canBubble, |
| 56 bool cancelable, | 56 bool cancelable, |
| 57 AbstractView* abstractView, | 57 AbstractView* abstractView, |
| 58 int detail, | 58 int detail, |
| 59 const IntPoint& screenLocation, | 59 const IntPoint& screenLocation, |
| 60 const IntPoint& rootFrameLocation, | 60 const IntPoint& rootFrameLocation, |
| 61 const IntPoint& movementDelta, | 61 const IntPoint& movementDelta, |
| 62 PlatformEvent::Modifiers modifiers, | 62 PlatformEvent::Modifiers modifiers, |
| 63 double platformTimeStamp, | 63 TimeTicks platformTimeStamp, |
| 64 PositionType positionType, | 64 PositionType positionType, |
| 65 InputDeviceCapabilities* sourceCapabilities) | 65 InputDeviceCapabilities* sourceCapabilities) |
| 66 : UIEventWithKeyState(eventType, | 66 : UIEventWithKeyState(eventType, |
| 67 canBubble, | 67 canBubble, |
| 68 cancelable, | 68 cancelable, |
| 69 abstractView, | 69 abstractView, |
| 70 detail, | 70 detail, |
| 71 modifiers, | 71 modifiers, |
| 72 platformTimeStamp, | 72 platformTimeStamp, |
| 73 sourceCapabilities), | 73 sourceCapabilities), |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 if (!m_hasCachedRelativePosition) | 248 if (!m_hasCachedRelativePosition) |
| 249 computeRelativePosition(); | 249 computeRelativePosition(); |
| 250 return std::round(m_offsetLocation.y()); | 250 return std::round(m_offsetLocation.y()); |
| 251 } | 251 } |
| 252 | 252 |
| 253 DEFINE_TRACE(MouseRelatedEvent) { | 253 DEFINE_TRACE(MouseRelatedEvent) { |
| 254 UIEventWithKeyState::trace(visitor); | 254 UIEventWithKeyState::trace(visitor); |
| 255 } | 255 } |
| 256 | 256 |
| 257 } // namespace blink | 257 } // namespace blink |
| OLD | NEW |