OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_DOM_PROXY_LISTENER_H_ |
| 6 #define CONTENT_RENDERER_DOM_PROXY_LISTENER_H_ |
| 7 |
| 8 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEventListener.h
" |
| 9 |
| 10 using WebKit::WebDOMEvent; |
| 11 using WebKit::WebDOMEventListener; |
| 12 using WebKit::WebFrame; |
| 13 |
| 14 namespace content { |
| 15 |
| 16 class DOMProxyListener : public WebDOMEventListener { |
| 17 public: |
| 18 explicit DOMProxyListener(WebFrame* frame, |
| 19 int64 browsing_instance_frame_id); |
| 20 virtual ~DOMProxyListener(); |
| 21 |
| 22 // WebDOMEventListener methods |
| 23 virtual void handleEvent(const WebDOMEvent& event); |
| 24 private: |
| 25 WebFrame* frame_; |
| 26 int64 browsing_instance_frame_id_; |
| 27 }; |
| 28 |
| 29 } // namespace content |
| 30 #endif // CONTENT_RENDERER_DOM_PROXY_LISTENER_H_ |
OLD | NEW |