| 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 } | 391 } |
| 392 | 392 |
| 393 void LocalFrameClientImpl::dispatchDidHandleOnloadEvents() { | 393 void LocalFrameClientImpl::dispatchDidHandleOnloadEvents() { |
| 394 if (m_webFrame->client()) | 394 if (m_webFrame->client()) |
| 395 m_webFrame->client()->didHandleOnloadEvents(m_webFrame); | 395 m_webFrame->client()->didHandleOnloadEvents(m_webFrame); |
| 396 } | 396 } |
| 397 | 397 |
| 398 void LocalFrameClientImpl:: | 398 void LocalFrameClientImpl:: |
| 399 dispatchDidReceiveServerRedirectForProvisionalLoad() { | 399 dispatchDidReceiveServerRedirectForProvisionalLoad() { |
| 400 if (m_webFrame->client()) { | 400 if (m_webFrame->client()) { |
| 401 m_webFrame->client()->didReceiveServerRedirectForProvisionalLoad( | 401 m_webFrame->client()->didReceiveServerRedirectForProvisionalLoad(); |
| 402 m_webFrame); | |
| 403 } | 402 } |
| 404 } | 403 } |
| 405 | 404 |
| 406 void LocalFrameClientImpl::dispatchDidNavigateWithinPage( | 405 void LocalFrameClientImpl::dispatchDidNavigateWithinPage( |
| 407 HistoryItem* item, | 406 HistoryItem* item, |
| 408 HistoryCommitType commitType, | 407 HistoryCommitType commitType, |
| 409 bool contentInitiated) { | 408 bool contentInitiated) { |
| 410 bool shouldCreateHistoryEntry = commitType == StandardCommit; | 409 bool shouldCreateHistoryEntry = commitType == StandardCommit; |
| 411 // TODO(dglazkov): Does this need to be called for subframes? | 410 // TODO(dglazkov): Does this need to be called for subframes? |
| 412 m_webFrame->viewImpl()->didCommitLoad(shouldCreateHistoryEntry, true); | 411 m_webFrame->viewImpl()->didCommitLoad(shouldCreateHistoryEntry, true); |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1033 if (m_webFrame->client()) | 1032 if (m_webFrame->client()) |
| 1034 m_webFrame->client()->setHasReceivedUserGesture(); | 1033 m_webFrame->client()->setHasReceivedUserGesture(); |
| 1035 } | 1034 } |
| 1036 | 1035 |
| 1037 void LocalFrameClientImpl::abortClientNavigation() { | 1036 void LocalFrameClientImpl::abortClientNavigation() { |
| 1038 if (m_webFrame->client()) | 1037 if (m_webFrame->client()) |
| 1039 m_webFrame->client()->abortClientNavigation(); | 1038 m_webFrame->client()->abortClientNavigation(); |
| 1040 } | 1039 } |
| 1041 | 1040 |
| 1042 } // namespace blink | 1041 } // namespace blink |
| OLD | NEW |