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 MouseEvent_h | 24 #ifndef MouseEvent_h |
25 #define MouseEvent_h | 25 #define MouseEvent_h |
26 | 26 |
27 #include "core/CoreExport.h" | 27 #include "core/CoreExport.h" |
28 #include "core/events/EventDispatchMediator.h" | 28 #include "core/events/EventDispatchMediator.h" |
29 #include "core/events/MouseEventInit.h" | 29 #include "core/events/MouseEventInit.h" |
30 #include "core/events/UIEventWithKeyState.h" | 30 #include "core/events/UIEventWithKeyState.h" |
31 #include "platform/PlatformMouseEvent.h" | 31 #include "platform/PlatformMouseEvent.h" |
| 32 #include "public/platform/WebMouseEvent.h" |
32 | 33 |
33 namespace blink { | 34 namespace blink { |
34 class DataTransfer; | 35 class DataTransfer; |
35 class EventDispatcher; | 36 class EventDispatcher; |
36 | 37 |
37 class CORE_EXPORT MouseEvent : public UIEventWithKeyState { | 38 class CORE_EXPORT MouseEvent : public UIEventWithKeyState { |
38 DEFINE_WRAPPERTYPEINFO(); | 39 DEFINE_WRAPPERTYPEINFO(); |
39 | 40 |
40 public: | 41 public: |
41 static MouseEvent* create() { return new MouseEvent; } | 42 static MouseEvent* create() { return new MouseEvent; } |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 MouseEvent& event() const; | 281 MouseEvent& event() const; |
281 | 282 |
282 DispatchEventResult dispatchEvent(EventDispatcher&) const override; | 283 DispatchEventResult dispatchEvent(EventDispatcher&) const override; |
283 }; | 284 }; |
284 | 285 |
285 DEFINE_EVENT_TYPE_CASTS(MouseEvent); | 286 DEFINE_EVENT_TYPE_CASTS(MouseEvent); |
286 | 287 |
287 } // namespace blink | 288 } // namespace blink |
288 | 289 |
289 #endif // MouseEvent_h | 290 #endif // MouseEvent_h |
OLD | NEW |