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 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 if (m_webFrame->client()) | 745 if (m_webFrame->client()) |
746 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 746 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
747 } | 747 } |
748 | 748 |
749 void FrameLoaderClientImpl::dispatchWillInsertBody() | 749 void FrameLoaderClientImpl::dispatchWillInsertBody() |
750 { | 750 { |
751 if (m_webFrame->client()) | 751 if (m_webFrame->client()) |
752 m_webFrame->client()->willInsertBody(m_webFrame); | 752 m_webFrame->client()->willInsertBody(m_webFrame); |
753 } | 753 } |
754 | 754 |
755 WebServiceWorkerRegistry* FrameLoaderClientImpl::serviceWorkerRegistry() | 755 WebServiceWorkerProvider* FrameLoaderClientImpl::createServiceWorkerProvider(Web
ServiceWorkerProviderClient* client) |
756 { | 756 { |
757 if (!m_webFrame->client()) | 757 if (!m_webFrame->client()) |
758 return 0; | 758 return 0; |
759 return m_webFrame->client()->serviceWorkerRegistry(m_webFrame); | 759 return m_webFrame->client()->createServiceWorkerProvider(m_webFrame, client)
; |
760 } | 760 } |
761 | 761 |
762 void FrameLoaderClientImpl::didStopAllLoaders() | 762 void FrameLoaderClientImpl::didStopAllLoaders() |
763 { | 763 { |
764 if (m_webFrame->client()) | 764 if (m_webFrame->client()) |
765 m_webFrame->client()->didAbortLoading(m_webFrame); | 765 m_webFrame->client()->didAbortLoading(m_webFrame); |
766 } | 766 } |
767 | 767 |
768 } // namespace WebKit | 768 } // namespace WebKit |
OLD | NEW |