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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 void FrameLoaderClientImpl::didLoseWebGLContext(int arbRobustnessContextLostReas
on) | 724 void FrameLoaderClientImpl::didLoseWebGLContext(int arbRobustnessContextLostReas
on) |
725 { | 725 { |
726 if (m_webFrame->client()) | 726 if (m_webFrame->client()) |
727 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 727 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
728 } | 728 } |
729 | 729 |
730 void FrameLoaderClientImpl::dispatchWillInsertBody() | 730 void FrameLoaderClientImpl::dispatchWillInsertBody() |
731 { | 731 { |
732 if (m_webFrame->client()) | 732 if (m_webFrame->client()) |
733 m_webFrame->client()->willInsertBody(m_webFrame); | 733 m_webFrame->client()->willInsertBody(m_webFrame); |
| 734 |
| 735 if (m_webFrame->viewImpl()) |
| 736 m_webFrame->viewImpl()->willInsertBody(m_webFrame); |
734 } | 737 } |
735 | 738 |
736 PassOwnPtr<WebServiceWorkerProvider> FrameLoaderClientImpl::createServiceWorkerP
rovider(PassOwnPtr<WebServiceWorkerProviderClient> client) | 739 PassOwnPtr<WebServiceWorkerProvider> FrameLoaderClientImpl::createServiceWorkerP
rovider(PassOwnPtr<WebServiceWorkerProviderClient> client) |
737 { | 740 { |
738 if (!m_webFrame->client()) | 741 if (!m_webFrame->client()) |
739 return nullptr; | 742 return nullptr; |
740 return adoptPtr(m_webFrame->client()->createServiceWorkerProvider(m_webFrame
, client.leakPtr())); | 743 return adoptPtr(m_webFrame->client()->createServiceWorkerProvider(m_webFrame
, client.leakPtr())); |
741 } | 744 } |
742 | 745 |
743 SharedWorkerRepositoryClient* FrameLoaderClientImpl::sharedWorkerRepositoryClien
t() | 746 SharedWorkerRepositoryClient* FrameLoaderClientImpl::sharedWorkerRepositoryClien
t() |
744 { | 747 { |
745 return m_webFrame->sharedWorkerRepositoryClient(); | 748 return m_webFrame->sharedWorkerRepositoryClient(); |
746 } | 749 } |
747 | 750 |
748 void FrameLoaderClientImpl::didStopAllLoaders() | 751 void FrameLoaderClientImpl::didStopAllLoaders() |
749 { | 752 { |
750 if (m_webFrame->client()) | 753 if (m_webFrame->client()) |
751 m_webFrame->client()->didAbortLoading(m_webFrame); | 754 m_webFrame->client()->didAbortLoading(m_webFrame); |
752 } | 755 } |
753 | 756 |
754 } // namespace blink | 757 } // namespace blink |
OLD | NEW |