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

Side by Side Diff: mandoline/tab/test_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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MANDOLINE_TAB_TEST_FRAME_TREE_DELEGATE_H_ 5 #ifndef MANDOLINE_TAB_TEST_FRAME_TREE_DELEGATE_H_
6 #define MANDOLINE_TAB_TEST_FRAME_TREE_DELEGATE_H_ 6 #define MANDOLINE_TAB_TEST_FRAME_TREE_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "mandoline/tab/frame_tree_delegate.h" 9 #include "mandoline/tab/frame_tree_delegate.h"
10 10
11 namespace mandoline { 11 namespace mandoline {
12 12
13 class TestFrameTreeDelegate : public FrameTreeDelegate { 13 class TestFrameTreeDelegate : public FrameTreeDelegate {
14 public: 14 public:
15 TestFrameTreeDelegate(); 15 TestFrameTreeDelegate();
16 ~TestFrameTreeDelegate() override; 16 ~TestFrameTreeDelegate() override;
17 17
18 // TestFrameTreeDelegate: 18 // TestFrameTreeDelegate:
19 bool CanPostMessageEventToFrame(const Frame* source, 19 bool CanPostMessageEventToFrame(const Frame* source,
20 const Frame* target, 20 const Frame* target,
21 MessageEvent* event) override; 21 HTMLMessageEvent* event) override;
22 void LoadingStateChanged(bool loading) override; 22 void LoadingStateChanged(bool loading) override;
23 void ProgressChanged(double progress) override; 23 void ProgressChanged(double progress) override;
24 void RequestNavigate(Frame* source, 24 void RequestNavigate(Frame* source,
25 NavigationTargetType target_type, 25 NavigationTargetType target_type,
26 Frame* target_frame, 26 Frame* target_frame,
27 mojo::URLRequestPtr request) override; 27 mojo::URLRequestPtr request) override;
28 28
29 private: 29 private:
30 DISALLOW_COPY_AND_ASSIGN(TestFrameTreeDelegate); 30 DISALLOW_COPY_AND_ASSIGN(TestFrameTreeDelegate);
31 }; 31 };
32 32
33 } // namespace mandoline 33 } // namespace mandoline
34 34
35 #endif // MANDOLINE_TAB_TEST_FRAME_TREE_DELEGATE_H_ 35 #endif // MANDOLINE_TAB_TEST_FRAME_TREE_DELEGATE_H_
OLDNEW
« no previous file with comments | « mandoline/tab/public/interfaces/frame_tree.mojom ('k') | mandoline/tab/test_frame_tree_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698