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

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

Issue 21639002: Remove the last remnants of client redirect callbacks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 if (m_webFrame->client()) 345 if (m_webFrame->client())
346 m_webFrame->client()->didHandleOnloadEvents(m_webFrame); 346 m_webFrame->client()->didHandleOnloadEvents(m_webFrame);
347 } 347 }
348 348
349 void FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad() 349 void FrameLoaderClientImpl::dispatchDidReceiveServerRedirectForProvisionalLoad()
350 { 350 {
351 if (m_webFrame->client()) 351 if (m_webFrame->client())
352 m_webFrame->client()->didReceiveServerRedirectForProvisionalLoad(m_webFr ame); 352 m_webFrame->client()->didReceiveServerRedirectForProvisionalLoad(m_webFr ame);
353 } 353 }
354 354
355 void FrameLoaderClientImpl::dispatchDidCompleteClientRedirect(const KURL& source URL)
356 {
357 if (m_webFrame->client())
358 m_webFrame->client()->didCompleteClientRedirect(m_webFrame, sourceURL);
359 }
360
361 void FrameLoaderClientImpl::dispatchDidNavigateWithinPage() 355 void FrameLoaderClientImpl::dispatchDidNavigateWithinPage()
362 { 356 {
363 bool isNewNavigation; 357 bool isNewNavigation;
364 m_webFrame->viewImpl()->didCommitLoad(&isNewNavigation, true); 358 m_webFrame->viewImpl()->didCommitLoad(&isNewNavigation, true);
365 if (m_webFrame->client()) 359 if (m_webFrame->client())
366 m_webFrame->client()->didNavigateWithinPage(m_webFrame, isNewNavigation) ; 360 m_webFrame->client()->didNavigateWithinPage(m_webFrame, isNewNavigation) ;
367 } 361 }
368 362
369 void FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage() 363 void FrameLoaderClientImpl::dispatchDidChangeLocationWithinPage()
370 { 364 {
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte xtLostReason); 808 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte xtLostReason);
815 } 809 }
816 810
817 void FrameLoaderClientImpl::dispatchWillInsertBody() 811 void FrameLoaderClientImpl::dispatchWillInsertBody()
818 { 812 {
819 if (m_webFrame->client()) 813 if (m_webFrame->client())
820 m_webFrame->client()->willInsertBody(m_webFrame); 814 m_webFrame->client()->willInsertBody(m_webFrame);
821 } 815 }
822 816
823 } // namespace WebKit 817 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698