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

Side by Side Diff: mandoline/tab/test_frame_tree_delegate.cc

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
« no previous file with comments | « mandoline/tab/test_frame_tree_delegate.h ('k') | mandoline/ui/browser/browser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "mandoline/tab/test_frame_tree_delegate.h" 5 #include "mandoline/tab/test_frame_tree_delegate.h"
6 6
7 namespace mandoline { 7 namespace mandoline {
8 8
9 TestFrameTreeDelegate::TestFrameTreeDelegate() {} 9 TestFrameTreeDelegate::TestFrameTreeDelegate() {}
10 10
11 TestFrameTreeDelegate::~TestFrameTreeDelegate() {} 11 TestFrameTreeDelegate::~TestFrameTreeDelegate() {}
12 12
13 bool TestFrameTreeDelegate::CanPostMessageEventToFrame(const Frame* source, 13 bool TestFrameTreeDelegate::CanPostMessageEventToFrame(
14 const Frame* target, 14 const Frame* source,
15 MessageEvent* event) { 15 const Frame* target,
16 return false; 16 HTMLMessageEvent* event) {
17 return true;
17 } 18 }
18 19
19 void TestFrameTreeDelegate::LoadingStateChanged(bool loading) {} 20 void TestFrameTreeDelegate::LoadingStateChanged(bool loading) {}
20 21
21 void TestFrameTreeDelegate::ProgressChanged(double progress) {} 22 void TestFrameTreeDelegate::ProgressChanged(double progress) {}
22 23
23 void TestFrameTreeDelegate::RequestNavigate(Frame* source, 24 void TestFrameTreeDelegate::RequestNavigate(Frame* source,
24 NavigationTargetType target_type, 25 NavigationTargetType target_type,
25 Frame* target_frame, 26 Frame* target_frame,
26 mojo::URLRequestPtr request) {} 27 mojo::URLRequestPtr request) {}
27 28
28 } // namespace mandoline 29 } // namespace mandoline
OLDNEW
« no previous file with comments | « mandoline/tab/test_frame_tree_delegate.h ('k') | mandoline/ui/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698