| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 if (m_webFrame->client()) | 364 if (m_webFrame->client()) |
| 365 m_webFrame->client()->willClose(m_webFrame); | 365 m_webFrame->client()->willClose(m_webFrame); |
| 366 } | 366 } |
| 367 | 367 |
| 368 void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad() | 368 void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad() |
| 369 { | 369 { |
| 370 if (m_webFrame->client()) | 370 if (m_webFrame->client()) |
| 371 m_webFrame->client()->didStartProvisionalLoad(m_webFrame); | 371 m_webFrame->client()->didStartProvisionalLoad(m_webFrame); |
| 372 } | 372 } |
| 373 | 373 |
| 374 void FrameLoaderClientImpl::dispatchDidReceiveTitle(const StringWithDirection& t
itle) | 374 void FrameLoaderClientImpl::dispatchDidReceiveTitle(const String& title) |
| 375 { | 375 { |
| 376 if (m_webFrame->client()) | 376 if (m_webFrame->client()) |
| 377 m_webFrame->client()->didReceiveTitle(m_webFrame, title.string(), title.
direction() == LTR ? WebTextDirectionLeftToRight : WebTextDirectionRightToLeft); | 377 m_webFrame->client()->didReceiveTitle(m_webFrame, title, WebTextDirectio
nLeftToRight); |
| 378 } | 378 } |
| 379 | 379 |
| 380 void FrameLoaderClientImpl::dispatchDidChangeIcons(WebCore::IconType type) | 380 void FrameLoaderClientImpl::dispatchDidChangeIcons(WebCore::IconType type) |
| 381 { | 381 { |
| 382 if (m_webFrame->client()) | 382 if (m_webFrame->client()) |
| 383 m_webFrame->client()->didChangeIcon(m_webFrame, static_cast<WebIconURL::
Type>(type)); | 383 m_webFrame->client()->didChangeIcon(m_webFrame, static_cast<WebIconURL::
Type>(type)); |
| 384 } | 384 } |
| 385 | 385 |
| 386 void FrameLoaderClientImpl::dispatchDidCommitLoad() | 386 void FrameLoaderClientImpl::dispatchDidCommitLoad() |
| 387 { | 387 { |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 773 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
| 774 } | 774 } |
| 775 | 775 |
| 776 void FrameLoaderClientImpl::dispatchWillInsertBody() | 776 void FrameLoaderClientImpl::dispatchWillInsertBody() |
| 777 { | 777 { |
| 778 if (m_webFrame->client()) | 778 if (m_webFrame->client()) |
| 779 m_webFrame->client()->willInsertBody(m_webFrame); | 779 m_webFrame->client()->willInsertBody(m_webFrame); |
| 780 } | 780 } |
| 781 | 781 |
| 782 } // namespace WebKit | 782 } // namespace WebKit |
| OLD | NEW |