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

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

Issue 1156473002: Refactor FrameLoader loading interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed issue with inital history navigation in child frames Created 5 years, 7 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
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/WebRemoteFrameImpl.h" 6 #include "web/WebRemoteFrameImpl.h"
7 7
8 #include "core/frame/FrameView.h" 8 #include "core/frame/FrameView.h"
9 #include "core/frame/RemoteFrame.h" 9 #include "core/frame/RemoteFrame.h"
10 #include "core/frame/Settings.h" 10 #include "core/frame/Settings.h"
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 ASSERT_NOT_REACHED(); 289 ASSERT_NOT_REACHED();
290 return v8::Local<v8::Value>(); 290 return v8::Local<v8::Value>();
291 } 291 }
292 292
293 v8::Local<v8::Context> WebRemoteFrameImpl::mainWorldScriptContext() const 293 v8::Local<v8::Context> WebRemoteFrameImpl::mainWorldScriptContext() const
294 { 294 {
295 ASSERT_NOT_REACHED(); 295 ASSERT_NOT_REACHED();
296 return v8::Local<v8::Context>(); 296 return v8::Local<v8::Context>();
297 } 297 }
298 298
299 WebURLRequest WebRemoteFrameImpl::RequestFromHistoryItem(const WebHistoryItem&,
300 WebURLRequest::CachePolicy) const
301 {
302 ASSERT_NOT_REACHED();
303 return WebURLRequest();
304 }
305
306 WebURLRequest WebRemoteFrameImpl::RequestForReload(const WebHistoryItem&, WebFra meLoadType,
307 const WebURL&) const
308 {
309 ASSERT_NOT_REACHED();
310 return WebURLRequest();
311 }
312
313 WebHistoryItem WebRemoteFrameImpl::CurrentItem() const
314 {
315 ASSERT_NOT_REACHED();
316 return WebHistoryItem();
317 }
318
299 void WebRemoteFrameImpl::reload(bool ignoreCache) 319 void WebRemoteFrameImpl::reload(bool ignoreCache)
300 { 320 {
301 ASSERT_NOT_REACHED(); 321 ASSERT_NOT_REACHED();
302 } 322 }
303 323
304 void WebRemoteFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool i gnoreCache) 324 void WebRemoteFrameImpl::reloadWithOverrideURL(const WebURL& overrideUrl, bool i gnoreCache)
305 { 325 {
306 ASSERT_NOT_REACHED(); 326 ASSERT_NOT_REACHED();
307 } 327 }
308 328
309 void WebRemoteFrameImpl::loadRequest(const WebURLRequest&) 329 void WebRemoteFrameImpl::loadRequest(const WebURLRequest&, WebFrameLoadType, con st WebHistoryItem&)
310 { 330 {
311 ASSERT_NOT_REACHED(); 331 ASSERT_NOT_REACHED();
312 } 332 }
313 333
314 void WebRemoteFrameImpl::loadHistoryItem(const WebHistoryItem&, WebHistoryLoadTy pe, WebURLRequest::CachePolicy) 334 void WebRemoteFrameImpl::loadHistoryItem(const WebHistoryItem&, WebHistoryLoadTy pe, WebURLRequest::CachePolicy)
315 { 335 {
316 ASSERT_NOT_REACHED(); 336 ASSERT_NOT_REACHED();
317 } 337 }
318 338
319 void WebRemoteFrameImpl::loadData( 339 void WebRemoteFrameImpl::loadData(
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
812 : WebRemoteFrame(scope) 832 : WebRemoteFrame(scope)
813 , m_frameClient(this) 833 , m_frameClient(this)
814 , m_client(client) 834 , m_client(client)
815 #if ENABLE(OILPAN) 835 #if ENABLE(OILPAN)
816 , m_selfKeepAlive(this) 836 , m_selfKeepAlive(this)
817 #endif 837 #endif
818 { 838 {
819 } 839 }
820 840
821 } // namespace blink 841 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698