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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 if (m_webFrame->client()) | 585 if (m_webFrame->client()) |
586 m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigi
n(origin), insecureURL); | 586 m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigi
n(origin), insecureURL); |
587 } | 587 } |
588 | 588 |
589 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE
ntirePage) | 589 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE
ntirePage) |
590 { | 590 { |
591 if (m_webFrame->client()) | 591 if (m_webFrame->client()) |
592 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti
rePage); | 592 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti
rePage); |
593 } | 593 } |
594 | 594 |
| 595 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) |
| 596 { |
| 597 if (m_webFrame->client()) |
| 598 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); |
| 599 } |
| 600 |
595 ResourceError FrameLoaderClientImpl::interruptedForPolicyChangeError( | 601 ResourceError FrameLoaderClientImpl::interruptedForPolicyChangeError( |
596 const ResourceRequest& request) | 602 const ResourceRequest& request) |
597 { | 603 { |
598 return ResourceError(internalErrorDomain, PolicyChangeError, | 604 return ResourceError(internalErrorDomain, PolicyChangeError, |
599 request.url().string(), String()); | 605 request.url().string(), String()); |
600 } | 606 } |
601 | 607 |
602 PassRefPtr<DocumentLoader> FrameLoaderClientImpl::createDocumentLoader( | 608 PassRefPtr<DocumentLoader> FrameLoaderClientImpl::createDocumentLoader( |
603 const ResourceRequest& request, | 609 const ResourceRequest& request, |
604 const SubstituteData& data) | 610 const SubstituteData& data) |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); | 814 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte
xtLostReason); |
809 } | 815 } |
810 | 816 |
811 void FrameLoaderClientImpl::dispatchWillInsertBody() | 817 void FrameLoaderClientImpl::dispatchWillInsertBody() |
812 { | 818 { |
813 if (m_webFrame->client()) | 819 if (m_webFrame->client()) |
814 m_webFrame->client()->willInsertBody(m_webFrame); | 820 m_webFrame->client()->willInsertBody(m_webFrame); |
815 } | 821 } |
816 | 822 |
817 } // namespace WebKit | 823 } // namespace WebKit |
OLD | NEW |