Index: public/web/WebRemoteFrameClient.h |
diff --git a/public/web/WebRemoteFrameClient.h b/public/web/WebRemoteFrameClient.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a0fa0cac8c69bbfa7fb6b62b36675f8b742a48fc |
--- /dev/null |
+++ b/public/web/WebRemoteFrameClient.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2014 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 WebRemoteFrameClient_h |
+#define WebRemoteFrameClient_h |
+ |
+#include "public/web/WebFrameClient.h" |
+ |
+namespace blink { |
+ |
+class WebRemoteFrameClient : public WebFrameClient { |
Nate Chapin
2014/09/04 23:16:48
This inheritance is temporary. Once RenderFramePro
|
+public: |
+ // Notifies the embedder that a postMessage was issued to a remote frame. |
+ virtual void postMessageEvent( |
+ WebLocalFrame* sourceFrame, |
+ WebRemoteFrame* targetFrame, |
+ WebSecurityOrigin targetOrigin, |
+ WebDOMMessageEvent) = 0; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WebRemoteFrameClient_h |