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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 | 619 |
620 void FrameLoaderClientImpl::didAccessInitialDocument() | 620 void FrameLoaderClientImpl::didAccessInitialDocument() |
621 { | 621 { |
622 if (m_webFrame->client()) | 622 if (m_webFrame->client()) |
623 m_webFrame->client()->didAccessInitialDocument(m_webFrame); | 623 m_webFrame->client()->didAccessInitialDocument(m_webFrame); |
624 } | 624 } |
625 | 625 |
626 void FrameLoaderClientImpl::didDisplayInsecureContent() | 626 void FrameLoaderClientImpl::didDisplayInsecureContent() |
627 { | 627 { |
628 if (m_webFrame->client()) | 628 if (m_webFrame->client()) |
629 m_webFrame->client()->didDisplayInsecureContent(m_webFrame); | 629 m_webFrame->client()->didDisplayInsecureContent(); |
630 } | 630 } |
631 | 631 |
632 void FrameLoaderClientImpl::didRunInsecureContent(SecurityOrigin* origin, const
KURL& insecureURL) | 632 void FrameLoaderClientImpl::didRunInsecureContent(SecurityOrigin* origin, const
KURL& insecureURL) |
633 { | 633 { |
634 if (m_webFrame->client()) | 634 if (m_webFrame->client()) |
635 m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigi
n(origin), insecureURL); | 635 m_webFrame->client()->didRunInsecureContent(WebSecurityOrigin(origin), i
nsecureURL); |
636 } | 636 } |
637 | 637 |
638 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE
ntirePage) | 638 void FrameLoaderClientImpl::didDetectXSS(const KURL& insecureURL, bool didBlockE
ntirePage) |
639 { | 639 { |
640 if (m_webFrame->client()) | 640 if (m_webFrame->client()) |
641 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti
rePage); | 641 m_webFrame->client()->didDetectXSS(insecureURL, didBlockEntirePage); |
642 } | 642 } |
643 | 643 |
644 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) | 644 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) |
645 { | 645 { |
646 if (m_webFrame->client()) | 646 if (m_webFrame->client()) |
647 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); | 647 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); |
648 } | 648 } |
649 | 649 |
650 void FrameLoaderClientImpl::didChangePerformanceTiming() | 650 void FrameLoaderClientImpl::didChangePerformanceTiming() |
651 { | 651 { |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 | 943 |
944 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 944 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
945 { | 945 { |
946 if (m_webFrame->client()) { | 946 if (m_webFrame->client()) { |
947 m_webFrame->client()->suddenTerminationDisablerChanged( | 947 m_webFrame->client()->suddenTerminationDisablerChanged( |
948 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 948 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
949 } | 949 } |
950 } | 950 } |
951 | 951 |
952 } // namespace blink | 952 } // namespace blink |
OLD | NEW |