Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: content/renderer/dom_proxy_listener.h

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: New patch, still not quite done Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698