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

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

Issue 645623004: Reland "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/WebFrame.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
21 Frame* RemoteFrameClientImpl::opener() const 26 Frame* RemoteFrameClientImpl::opener() const
22 { 27 {
23 return toCoreFrame(m_webFrame->opener()); 28 return toCoreFrame(m_webFrame->opener());
24 } 29 }
25 30
26 void RemoteFrameClientImpl::setOpener(Frame*) 31 void RemoteFrameClientImpl::setOpener(Frame*)
27 { 32 {
28 // FIXME: Implement. 33 // FIXME: Implement.
29 } 34 }
30 35
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 return true; 71 return true;
67 } 72 }
68 73
69 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should ReplaceCurrentEntry) 74 void RemoteFrameClientImpl::navigate(const ResourceRequest& request, bool should ReplaceCurrentEntry)
70 { 75 {
71 if (m_webFrame->client()) 76 if (m_webFrame->client())
72 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe placeCurrentEntry); 77 m_webFrame->client()->navigate(WrappedResourceRequest(request), shouldRe placeCurrentEntry);
73 } 78 }
74 79
75 } // namespace blink 80 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/RemoteFrameClientImpl.h ('k') | Source/web/WebFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698