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