| 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 27 matching lines...) Expand all Loading... |
| 38 InputDeviceCapabilities* source_capabilities_arg) | 38 InputDeviceCapabilities* source_capabilities_arg) |
| 39 : Event(event_type, | 39 : Event(event_type, |
| 40 can_bubble_arg, | 40 can_bubble_arg, |
| 41 cancelable_arg, | 41 cancelable_arg, |
| 42 composed_mode, | 42 composed_mode, |
| 43 platform_time_stamp), | 43 platform_time_stamp), |
| 44 view_(view_arg), | 44 view_(view_arg), |
| 45 detail_(detail_arg), | 45 detail_(detail_arg), |
| 46 source_capabilities_(source_capabilities_arg) {} | 46 source_capabilities_(source_capabilities_arg) {} |
| 47 | 47 |
| 48 UIEvent::UIEvent(const AtomicString& event_type, const UIEventInit& initializer) | 48 UIEvent::UIEvent(const AtomicString& event_type, |
| 49 : Event(event_type, initializer), | 49 const UIEventInit& initializer, |
| 50 TimeTicks platform_time_stamp) |
| 51 : Event(event_type, initializer, platform_time_stamp), |
| 50 view_(initializer.view()), | 52 view_(initializer.view()), |
| 51 detail_(initializer.detail()), | 53 detail_(initializer.detail()), |
| 52 source_capabilities_(initializer.sourceCapabilities()) {} | 54 source_capabilities_(initializer.sourceCapabilities()) {} |
| 53 | 55 |
| 54 UIEvent::~UIEvent() {} | 56 UIEvent::~UIEvent() {} |
| 55 | 57 |
| 56 void UIEvent::initUIEvent(const AtomicString& type_arg, | 58 void UIEvent::initUIEvent(const AtomicString& type_arg, |
| 57 bool can_bubble_arg, | 59 bool can_bubble_arg, |
| 58 bool cancelable_arg, | 60 bool cancelable_arg, |
| 59 AbstractView* view_arg, | 61 AbstractView* view_arg, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 return 0; | 94 return 0; |
| 93 } | 95 } |
| 94 | 96 |
| 95 DEFINE_TRACE(UIEvent) { | 97 DEFINE_TRACE(UIEvent) { |
| 96 visitor->Trace(view_); | 98 visitor->Trace(view_); |
| 97 visitor->Trace(source_capabilities_); | 99 visitor->Trace(source_capabilities_); |
| 98 Event::Trace(visitor); | 100 Event::Trace(visitor); |
| 99 } | 101 } |
| 100 | 102 |
| 101 } // namespace blink | 103 } // namespace blink |
| OLD | NEW |