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 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 | 747 |
748 return enabledPerSettings; | 748 return enabledPerSettings; |
749 } | 749 } |
750 | 750 |
751 void FrameLoaderClientImpl::didLoseWebGLContext(int arbRobustnessContextLostReas
on) | 751 void FrameLoaderClientImpl::didLoseWebGLContext(int arbRobustnessContextLostReas
on) |
752 { | 752 { |
753 if (m_webFrame->client()) | 753 if (m_webFrame->client()) |
754 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 754 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
755 } | 755 } |
756 | 756 |
| 757 bool FrameLoaderClientImpl::allowWebGLDebugRendererInfo() |
| 758 { |
| 759 if (m_webFrame->client()) |
| 760 return m_webFrame->client()->allowWebGLDebugRendererInfo(m_webFrame); |
| 761 return false; |
| 762 } |
| 763 |
757 void FrameLoaderClientImpl::dispatchWillInsertBody() | 764 void FrameLoaderClientImpl::dispatchWillInsertBody() |
758 { | 765 { |
759 if (m_webFrame->client()) | 766 if (m_webFrame->client()) |
760 m_webFrame->client()->willInsertBody(m_webFrame); | 767 m_webFrame->client()->willInsertBody(m_webFrame); |
761 } | 768 } |
762 | 769 |
763 PassOwnPtr<WebServiceWorkerProvider> FrameLoaderClientImpl::createServiceWorkerP
rovider(PassOwnPtr<WebServiceWorkerProviderClient> client) | 770 PassOwnPtr<WebServiceWorkerProvider> FrameLoaderClientImpl::createServiceWorkerP
rovider(PassOwnPtr<WebServiceWorkerProviderClient> client) |
764 { | 771 { |
765 if (!m_webFrame->client()) | 772 if (!m_webFrame->client()) |
766 return nullptr; | 773 return nullptr; |
767 return adoptPtr(m_webFrame->client()->createServiceWorkerProvider(m_webFrame
, client.leakPtr())); | 774 return adoptPtr(m_webFrame->client()->createServiceWorkerProvider(m_webFrame
, client.leakPtr())); |
768 } | 775 } |
769 | 776 |
770 void FrameLoaderClientImpl::didStopAllLoaders() | 777 void FrameLoaderClientImpl::didStopAllLoaders() |
771 { | 778 { |
772 if (m_webFrame->client()) | 779 if (m_webFrame->client()) |
773 m_webFrame->client()->didAbortLoading(m_webFrame); | 780 m_webFrame->client()->didAbortLoading(m_webFrame); |
774 } | 781 } |
775 | 782 |
776 } // namespace WebKit | 783 } // namespace WebKit |
OLD | NEW |