OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |