| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #ifndef WebDOMEventListenerPrivate_h | 31 #ifndef WebDOMEventListenerPrivate_h |
| 32 #define WebDOMEventListenerPrivate_h | 32 #define WebDOMEventListenerPrivate_h |
| 33 | 33 |
| 34 #include "public/platform/WebString.h" | 34 #include "public/platform/WebString.h" |
| 35 #include "wtf/Vector.h" | 35 #include "wtf/Vector.h" |
| 36 | 36 |
| 37 namespace WebCore { | 37 namespace WebCore { |
| 38 class EventTarget; | 38 class EventTarget; |
| 39 } | 39 } |
| 40 | 40 |
| 41 namespace WebKit { | 41 namespace blink { |
| 42 | 42 |
| 43 class EventListenerWrapper; | 43 class EventListenerWrapper; |
| 44 class WebDOMEventListener; | 44 class WebDOMEventListener; |
| 45 | 45 |
| 46 class WebDOMEventListenerPrivate { | 46 class WebDOMEventListenerPrivate { |
| 47 public: | 47 public: |
| 48 WebDOMEventListenerPrivate(WebDOMEventListener* webDOMEventListener); | 48 WebDOMEventListenerPrivate(WebDOMEventListener* webDOMEventListener); |
| 49 ~WebDOMEventListenerPrivate(); | 49 ~WebDOMEventListenerPrivate(); |
| 50 | 50 |
| 51 EventListenerWrapper* createEventListenerWrapper( | 51 EventListenerWrapper* createEventListenerWrapper( |
| (...skipping 28 matching lines...) Expand all Loading... |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 WebDOMEventListener* m_webDOMEventListener; | 83 WebDOMEventListener* m_webDOMEventListener; |
| 84 | 84 |
| 85 // We keep a list of the wrapper for the WebKit EventListener, it is needed | 85 // We keep a list of the wrapper for the WebKit EventListener, it is needed |
| 86 // to implement WebNode::removeEventListener(). | 86 // to implement WebNode::removeEventListener(). |
| 87 Vector<ListenerInfo> m_listenerWrappers; | 87 Vector<ListenerInfo> m_listenerWrappers; |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace WebKit | 90 } // namespace blink |
| 91 | 91 |
| 92 #endif | 92 #endif |
| OLD | NEW |