OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. 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 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 * | 24 * |
25 */ | 25 */ |
26 | 26 |
27 #ifndef WindowEventContext_h | 27 #ifndef WindowEventContext_h |
28 #define WindowEventContext_h | 28 #define WindowEventContext_h |
29 | 29 |
30 #include "core/frame/LocalDOMWindow.h" | 30 #include "core/frame/LocalDOMWindow.h" |
31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
32 #include "wtf/RefPtr.h" | 32 #include "platform/wtf/RefPtr.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class EventTarget; | 36 class EventTarget; |
37 class Event; | 37 class Event; |
38 class NodeEventContext; | 38 class NodeEventContext; |
39 | 39 |
40 class WindowEventContext : public GarbageCollected<WindowEventContext> { | 40 class WindowEventContext : public GarbageCollected<WindowEventContext> { |
41 WTF_MAKE_NONCOPYABLE(WindowEventContext); | 41 WTF_MAKE_NONCOPYABLE(WindowEventContext); |
42 | 42 |
(...skipping 15 matching lines...) Expand all Loading... |
58 return window_.Get(); | 58 return window_.Get(); |
59 } | 59 } |
60 | 60 |
61 inline EventTarget* WindowEventContext::Target() const { | 61 inline EventTarget* WindowEventContext::Target() const { |
62 return target_.Get(); | 62 return target_.Get(); |
63 } | 63 } |
64 | 64 |
65 } // namespace blink | 65 } // namespace blink |
66 | 66 |
67 #endif // WindowEventContext_h | 67 #endif // WindowEventContext_h |
OLD | NEW |