| 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 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 if (m_webFrame->client()) | 665 if (m_webFrame->client()) |
| 666 m_webFrame->client()->didDetectXSS(insecureURL, didBlockEntirePage); | 666 m_webFrame->client()->didDetectXSS(insecureURL, didBlockEntirePage); |
| 667 } | 667 } |
| 668 | 668 |
| 669 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) | 669 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) |
| 670 { | 670 { |
| 671 if (m_webFrame->client()) | 671 if (m_webFrame->client()) |
| 672 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); | 672 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); |
| 673 } | 673 } |
| 674 | 674 |
| 675 void FrameLoaderClientImpl::didDisplayContentWithCertificateErrors(const KURL& u
rl, const CString& securityInfo, const WebURL& mainResourceUrl, const CString& m
ainResourceSecurityInfo) |
| 676 { |
| 677 if (m_webFrame->client()) |
| 678 m_webFrame->client()->didDisplayContentWithCertificateErrors(url, securi
tyInfo, mainResourceUrl, mainResourceSecurityInfo); |
| 679 } |
| 680 |
| 681 void FrameLoaderClientImpl::didRunContentWithCertificateErrors(const KURL& url,
const CString& securityInfo, const WebURL& mainResourceUrl, const CString& mainR
esourceSecurityInfo) |
| 682 { |
| 683 if (m_webFrame->client()) |
| 684 m_webFrame->client()->didRunContentWithCertificateErrors(url, securityIn
fo, mainResourceUrl, mainResourceSecurityInfo); |
| 685 } |
| 686 |
| 675 void FrameLoaderClientImpl::didChangePerformanceTiming() | 687 void FrameLoaderClientImpl::didChangePerformanceTiming() |
| 676 { | 688 { |
| 677 if (m_webFrame->client()) | 689 if (m_webFrame->client()) |
| 678 m_webFrame->client()->didChangePerformanceTiming(); | 690 m_webFrame->client()->didChangePerformanceTiming(); |
| 679 } | 691 } |
| 680 | 692 |
| 681 void FrameLoaderClientImpl::selectorMatchChanged(const Vector<String>& addedSele
ctors, const Vector<String>& removedSelectors) | 693 void FrameLoaderClientImpl::selectorMatchChanged(const Vector<String>& addedSele
ctors, const Vector<String>& removedSelectors) |
| 682 { | 694 { |
| 683 if (WebFrameClient* client = m_webFrame->client()) | 695 if (WebFrameClient* client = m_webFrame->client()) |
| 684 client->didMatchCSS(m_webFrame, WebVector<WebString>(addedSelectors), We
bVector<WebString>(removedSelectors)); | 696 client->didMatchCSS(m_webFrame, WebVector<WebString>(addedSelectors), We
bVector<WebString>(removedSelectors)); |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 | 997 |
| 986 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 998 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 987 { | 999 { |
| 988 if (m_webFrame->client()) { | 1000 if (m_webFrame->client()) { |
| 989 m_webFrame->client()->suddenTerminationDisablerChanged( | 1001 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 990 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 1002 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 991 } | 1003 } |
| 992 } | 1004 } |
| 993 | 1005 |
| 994 } // namespace blink | 1006 } // namespace blink |
| OLD | NEW |