OLD | NEW |
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 "web/WebRemoteFrameImpl.h" | 5 #include "web/WebRemoteFrameImpl.h" |
6 | 6 |
7 #include "bindings/core/v8/DOMWrapperWorld.h" | 7 #include "bindings/core/v8/DOMWrapperWorld.h" |
8 #include "bindings/core/v8/WindowProxy.h" | 8 #include "bindings/core/v8/WindowProxy.h" |
9 #include "core/dom/Fullscreen.h" | 9 #include "core/dom/Fullscreen.h" |
10 #include "core/dom/RemoteSecurityContext.h" | 10 #include "core/dom/RemoteSecurityContext.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 frame->SetOpener(opener); | 45 frame->SetOpener(opener); |
46 return frame; | 46 return frame; |
47 } | 47 } |
48 | 48 |
49 WebRemoteFrameImpl::~WebRemoteFrameImpl() {} | 49 WebRemoteFrameImpl::~WebRemoteFrameImpl() {} |
50 | 50 |
51 DEFINE_TRACE(WebRemoteFrameImpl) { | 51 DEFINE_TRACE(WebRemoteFrameImpl) { |
52 visitor->Trace(frame_client_); | 52 visitor->Trace(frame_client_); |
53 visitor->Trace(frame_); | 53 visitor->Trace(frame_); |
54 WebFrame::TraceFrames(visitor, this); | 54 WebFrame::TraceFrames(visitor, this); |
55 WebFrameImplBase::Trace(visitor); | |
56 } | 55 } |
57 | 56 |
58 bool WebRemoteFrameImpl::IsWebLocalFrame() const { | 57 bool WebRemoteFrameImpl::IsWebLocalFrame() const { |
59 return false; | 58 return false; |
60 } | 59 } |
61 | 60 |
62 WebLocalFrame* WebRemoteFrameImpl::ToWebLocalFrame() { | 61 WebLocalFrame* WebRemoteFrameImpl::ToWebLocalFrame() { |
63 NOTREACHED(); | 62 NOTREACHED(); |
64 return nullptr; | 63 return nullptr; |
65 } | 64 } |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 } | 534 } |
536 | 535 |
537 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, | 536 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, |
538 WebRemoteFrameClient* client) | 537 WebRemoteFrameClient* client) |
539 : WebRemoteFrame(scope), | 538 : WebRemoteFrame(scope), |
540 frame_client_(RemoteFrameClientImpl::Create(this)), | 539 frame_client_(RemoteFrameClientImpl::Create(this)), |
541 client_(client), | 540 client_(client), |
542 self_keep_alive_(this) {} | 541 self_keep_alive_(this) {} |
543 | 542 |
544 } // namespace blink | 543 } // namespace blink |
OLD | NEW |