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 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #include "config.h" | 23 #include "config.h" |
24 #include "core/events/ClipboardEvent.h" | 24 #include "core/events/ClipboardEvent.h" |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 | 27 |
28 ClipboardEvent::ClipboardEvent() | 28 ClipboardEvent::ClipboardEvent() |
29 { | 29 { |
30 } | 30 } |
31 | 31 |
32 ClipboardEvent::ClipboardEvent(const AtomicString& eventType, bool canBubble, bo
ol cancelable, PassRefPtrWillBeRawPtr<DataTransfer> clipboardData) | 32 ClipboardEvent::ClipboardEvent(const AtomicString& eventType, bool canBubble, bo
ol cancelable, DataTransfer* clipboardData) |
33 : Event(eventType, canBubble, cancelable), m_clipboardData(clipboardData) | 33 : Event(eventType, canBubble, cancelable), m_clipboardData(clipboardData) |
34 { | 34 { |
35 } | 35 } |
36 | 36 |
37 ClipboardEvent::~ClipboardEvent() | 37 ClipboardEvent::~ClipboardEvent() |
38 { | 38 { |
39 } | 39 } |
40 | 40 |
41 const AtomicString& ClipboardEvent::interfaceName() const | 41 const AtomicString& ClipboardEvent::interfaceName() const |
42 { | 42 { |
43 return EventNames::ClipboardEvent; | 43 return EventNames::ClipboardEvent; |
44 } | 44 } |
45 | 45 |
46 bool ClipboardEvent::isClipboardEvent() const | 46 bool ClipboardEvent::isClipboardEvent() const |
47 { | 47 { |
48 return true; | 48 return true; |
49 } | 49 } |
50 | 50 |
51 DEFINE_TRACE(ClipboardEvent) | 51 DEFINE_TRACE(ClipboardEvent) |
52 { | 52 { |
53 visitor->trace(m_clipboardData); | 53 visitor->trace(m_clipboardData); |
54 Event::trace(visitor); | 54 Event::trace(visitor); |
55 } | 55 } |
56 | 56 |
57 } // namespace blink | 57 } // namespace blink |
OLD | NEW |