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

Unified Diff: mandoline/tab/frame_tree_delegate.h

Issue 1270313006: Connects PostMessage() for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows Created 5 years, 4 months 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
« no previous file with comments | « mandoline/tab/frame_apptest.cc ('k') | mandoline/tab/public/interfaces/frame_tree.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/tab/frame_tree_delegate.h
diff --git a/mandoline/tab/frame_tree_delegate.h b/mandoline/tab/frame_tree_delegate.h
index 6562bd8ad5850a278cd97fee6afd12f7c3083490..b72446a28670e24a652c88ccd093d1fe7d66dfec 100644
--- a/mandoline/tab/frame_tree_delegate.h
+++ b/mandoline/tab/frame_tree_delegate.h
@@ -11,13 +11,16 @@
namespace mandoline {
class Frame;
-class MessageEvent;
+class HTMLMessageEvent;
class FrameTreeDelegate {
public:
+ // Returns whether a request to post a message from |source| to |target|
+ // is allowed. |source| and |target| are never null.
virtual bool CanPostMessageEventToFrame(const Frame* source,
const Frame* target,
- MessageEvent* event) = 0;
+ HTMLMessageEvent* event) = 0;
+
virtual void LoadingStateChanged(bool loading) = 0;
virtual void ProgressChanged(double progress) = 0;
« no previous file with comments | « mandoline/tab/frame_apptest.cc ('k') | mandoline/tab/public/interfaces/frame_tree.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698