OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #ifndef GestureEvent_h | 26 #ifndef GestureEvent_h |
27 #define GestureEvent_h | 27 #define GestureEvent_h |
28 | 28 |
29 #include "EventDispatcher.h" | 29 #include "EventDispatcher.h" |
30 #include "EventNames.h" | 30 #include "EventNames.h" |
31 #include "Frame.h" | 31 #include "Frame.h" |
32 #include "FrameView.h" | 32 #include "FrameView.h" |
33 #include "MouseRelatedEvent.h" | 33 #include "MouseRelatedEvent.h" |
34 #include "PlatformEvent.h" | 34 #include "core/platform/PlatformEvent.h" |
35 #include "PlatformGestureEvent.h" | 35 #include "core/platform/PlatformGestureEvent.h" |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 | 38 |
39 class GestureEvent : public MouseRelatedEvent { | 39 class GestureEvent : public MouseRelatedEvent { |
40 public: | 40 public: |
41 virtual ~GestureEvent() { } | 41 virtual ~GestureEvent() { } |
42 | 42 |
43 static PassRefPtr<GestureEvent> create(); | 43 static PassRefPtr<GestureEvent> create(); |
44 static PassRefPtr<GestureEvent> create(PassRefPtr<AbstractView>, const Platf
ormGestureEvent&); | 44 static PassRefPtr<GestureEvent> create(PassRefPtr<AbstractView>, const Platf
ormGestureEvent&); |
45 | 45 |
(...skipping 23 matching lines...) Expand all Loading... |
69 explicit GestureEventDispatchMediator(PassRefPtr<GestureEvent>); | 69 explicit GestureEventDispatchMediator(PassRefPtr<GestureEvent>); |
70 | 70 |
71 GestureEvent* event() const; | 71 GestureEvent* event() const; |
72 | 72 |
73 virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE; | 73 virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace WebCore | 76 } // namespace WebCore |
77 | 77 |
78 #endif // GestureEvent_h | 78 #endif // GestureEvent_h |
OLD | NEW |