| Index: content/renderer/dom_proxy_listener.h
|
| diff --git a/content/renderer/dom_proxy_listener.h b/content/renderer/dom_proxy_listener.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2292e7b2c3902eb4bf1d0c6fc7a84288537b1573
|
| --- /dev/null
|
| +++ b/content/renderer/dom_proxy_listener.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_RENDERER_DOM_PROXY_LISTENER_H_
|
| +#define CONTENT_RENDERER_DOM_PROXY_LISTENER_H_
|
| +
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMEventListener.h"
|
| +
|
| +using WebKit::WebDOMEvent;
|
| +using WebKit::WebDOMEventListener;
|
| +using WebKit::WebFrame;
|
| +
|
| +namespace content {
|
| +
|
| +class DOMProxyListener : public WebDOMEventListener {
|
| + public:
|
| + explicit DOMProxyListener(WebFrame* frame,
|
| + int64 browsing_instance_frame_id);
|
| + virtual ~DOMProxyListener();
|
| +
|
| + // WebDOMEventListener methods
|
| + virtual void handleEvent(const WebDOMEvent& event);
|
| + private:
|
| + WebFrame* frame_;
|
| + int64 browsing_instance_frame_id_;
|
| +};
|
| +
|
| +} // namespace content
|
| +#endif // CONTENT_RENDERER_DOM_PROXY_LISTENER_H_
|
|
|