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 "core/exported/WebRemoteFrameImpl.h" | 5 #include "core/exported/WebRemoteFrameImpl.h" |
6 | 6 |
7 #include "bindings/core/v8/WindowProxy.h" | 7 #include "bindings/core/v8/WindowProxy.h" |
8 #include "core/dom/Fullscreen.h" | 8 #include "core/dom/Fullscreen.h" |
9 #include "core/dom/RemoteSecurityContext.h" | 9 #include "core/dom/RemoteSecurityContext.h" |
10 #include "core/dom/SecurityContext.h" | 10 #include "core/dom/SecurityContext.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // TODO(dcheng): this should also ASSERT_NOT_REACHED, but a lot of | 136 // TODO(dcheng): this should also ASSERT_NOT_REACHED, but a lot of |
137 // code tries to access the document of a remote frame at the moment. | 137 // code tries to access the document of a remote frame at the moment. |
138 return WebDocument(); | 138 return WebDocument(); |
139 } | 139 } |
140 | 140 |
141 WebPerformance WebRemoteFrameImpl::Performance() const { | 141 WebPerformance WebRemoteFrameImpl::Performance() const { |
142 NOTREACHED(); | 142 NOTREACHED(); |
143 return WebPerformance(); | 143 return WebPerformance(); |
144 } | 144 } |
145 | 145 |
146 void WebRemoteFrameImpl::Reload(WebFrameLoadType) { | |
147 NOTREACHED(); | |
148 } | |
149 | |
150 void WebRemoteFrameImpl::ReloadWithOverrideURL(const WebURL& override_url, | |
151 WebFrameLoadType) { | |
152 NOTREACHED(); | |
153 } | |
154 | |
155 void WebRemoteFrameImpl::LoadRequest(const WebURLRequest&) { | |
156 NOTREACHED(); | |
157 } | |
158 | |
159 void WebRemoteFrameImpl::StopLoading() { | 146 void WebRemoteFrameImpl::StopLoading() { |
160 // TODO(dcheng,japhet): Calling this method should stop loads | 147 // TODO(dcheng,japhet): Calling this method should stop loads |
161 // in all subframes, both remote and local. | 148 // in all subframes, both remote and local. |
162 } | 149 } |
163 | 150 |
164 void WebRemoteFrameImpl::EnableViewSourceMode(bool enable) { | 151 void WebRemoteFrameImpl::EnableViewSourceMode(bool enable) { |
165 NOTREACHED(); | 152 NOTREACHED(); |
166 } | 153 } |
167 | 154 |
168 bool WebRemoteFrameImpl::IsViewSourceModeEnabled() const { | 155 bool WebRemoteFrameImpl::IsViewSourceModeEnabled() const { |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 } | 383 } |
397 | 384 |
398 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, | 385 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, |
399 WebRemoteFrameClient* client) | 386 WebRemoteFrameClient* client) |
400 : WebRemoteFrameBase(scope), | 387 : WebRemoteFrameBase(scope), |
401 frame_client_(RemoteFrameClientImpl::Create(this)), | 388 frame_client_(RemoteFrameClientImpl::Create(this)), |
402 client_(client), | 389 client_(client), |
403 self_keep_alive_(this) {} | 390 self_keep_alive_(this) {} |
404 | 391 |
405 } // namespace blink | 392 } // namespace blink |
OLD | NEW |