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, 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 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 | 23 |
24 #ifndef UIEvent_h | 24 #ifndef UIEvent_h |
25 #define UIEvent_h | 25 #define UIEvent_h |
26 | 26 |
27 #include "core/CoreExport.h" | 27 #include "core/CoreExport.h" |
28 #include "core/events/Event.h" | 28 #include "core/events/Event.h" |
29 #include "core/events/EventDispatchMediator.h" | 29 #include "core/events/EventDispatchMediator.h" |
30 #include "core/events/UIEventInit.h" | 30 #include "core/events/UIEventInit.h" |
31 #include "core/frame/DOMWindow.h" | 31 #include "core/frame/DOMWindow.h" |
32 #include "core/input/InputDeviceCapabilities.h" | |
33 | 32 |
34 namespace blink { | 33 namespace blink { |
35 | 34 |
| 35 class InputDeviceCapabilities; |
| 36 |
36 // FIXME: Get rid of this type alias. | 37 // FIXME: Get rid of this type alias. |
37 using AbstractView = DOMWindow; | 38 using AbstractView = DOMWindow; |
38 | 39 |
39 class CORE_EXPORT UIEvent : public Event { | 40 class CORE_EXPORT UIEvent : public Event { |
40 DEFINE_WRAPPERTYPEINFO(); | 41 DEFINE_WRAPPERTYPEINFO(); |
41 | 42 |
42 public: | 43 public: |
43 static UIEvent* create() { return new UIEvent; } | 44 static UIEvent* create() { return new UIEvent; } |
44 static UIEvent* create(const AtomicString& type, | 45 static UIEvent* create(const AtomicString& type, |
45 const UIEventInit& initializer) { | 46 const UIEventInit& initializer) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 88 |
88 private: | 89 private: |
89 Member<AbstractView> m_view; | 90 Member<AbstractView> m_view; |
90 int m_detail; | 91 int m_detail; |
91 Member<InputDeviceCapabilities> m_sourceCapabilities; | 92 Member<InputDeviceCapabilities> m_sourceCapabilities; |
92 }; | 93 }; |
93 | 94 |
94 } // namespace blink | 95 } // namespace blink |
95 | 96 |
96 #endif // UIEvent_h | 97 #endif // UIEvent_h |
OLD | NEW |