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

Side by Side Diff: Source/web/RemoteFrameClientImpl.cpp

Issue 618253002: Revert of Streamline frame detach (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/tests/WebFrameTest.cpp » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "web/RemoteFrameClientImpl.h" 6 #include "web/RemoteFrameClientImpl.h"
7 7
8 #include "platform/exported/WrappedResourceRequest.h" 8 #include "platform/exported/WrappedResourceRequest.h"
9 #include "platform/weborigin/SecurityOrigin.h" 9 #include "platform/weborigin/SecurityOrigin.h"
10 #include "platform/weborigin/SecurityPolicy.h" 10 #include "platform/weborigin/SecurityPolicy.h"
11 #include "web/WebLocalFrameImpl.h" 11 #include "web/WebLocalFrameImpl.h"
12 #include "web/WebRemoteFrameImpl.h" 12 #include "web/WebRemoteFrameImpl.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame) 16 RemoteFrameClientImpl::RemoteFrameClientImpl(WebRemoteFrameImpl* webFrame)
17 : m_webFrame(webFrame) 17 : m_webFrame(webFrame)
18 { 18 {
19 } 19 }
20 20
21 void RemoteFrameClientImpl::detached()
22 {
23 // FIXME: Implement.
24 }
25
26 Frame* RemoteFrameClientImpl::opener() const 21 Frame* RemoteFrameClientImpl::opener() const
27 { 22 {
28 return toCoreFrame(m_webFrame->opener()); 23 return toCoreFrame(m_webFrame->opener());
29 } 24 }
30 25
31 void RemoteFrameClientImpl::setOpener(Frame*) 26 void RemoteFrameClientImpl::setOpener(Frame*)
32 { 27 {
33 // FIXME: Implement. 28 // FIXME: Implement.
34 } 29 }
35 30
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 return true; 66 return true;
72 } 67 }
73 68
74 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should ReplaceCurrentEntry) 69 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should ReplaceCurrentEntry)
75 { 70 {
76 if (m_webFrame->client()) 71 if (m_webFrame->client())
77 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe placeCurrentEntry); 72 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe placeCurrentEntry);
78 } 73 }
79 74
80 } // namespace blink 75 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698