| 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 if (m_webFrame->client()) | 641 if (m_webFrame->client()) |
| 642 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti
rePage); | 642 m_webFrame->client()->didDetectXSS(m_webFrame, insecureURL, didBlockEnti
rePage); |
| 643 } | 643 } |
| 644 | 644 |
| 645 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) | 645 void FrameLoaderClientImpl::didDispatchPingLoader(const KURL& url) |
| 646 { | 646 { |
| 647 if (m_webFrame->client()) | 647 if (m_webFrame->client()) |
| 648 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); | 648 m_webFrame->client()->didDispatchPingLoader(m_webFrame, url); |
| 649 } | 649 } |
| 650 | 650 |
| 651 void FrameLoaderClientImpl::didChangePerformanceTiming() |
| 652 { |
| 653 if (m_webFrame->client()) |
| 654 m_webFrame->client()->didChangePerformanceTiming(); |
| 655 } |
| 656 |
| 651 void FrameLoaderClientImpl::selectorMatchChanged(const Vector<String>& addedSele
ctors, const Vector<String>& removedSelectors) | 657 void FrameLoaderClientImpl::selectorMatchChanged(const Vector<String>& addedSele
ctors, const Vector<String>& removedSelectors) |
| 652 { | 658 { |
| 653 if (WebFrameClient* client = m_webFrame->client()) | 659 if (WebFrameClient* client = m_webFrame->client()) |
| 654 client->didMatchCSS(m_webFrame, WebVector<WebString>(addedSelectors), We
bVector<WebString>(removedSelectors)); | 660 client->didMatchCSS(m_webFrame, WebVector<WebString>(addedSelectors), We
bVector<WebString>(removedSelectors)); |
| 655 } | 661 } |
| 656 | 662 |
| 657 PassRefPtrWillBeRawPtr<DocumentLoader> FrameLoaderClientImpl::createDocumentLoad
er(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& data
) | 663 PassRefPtrWillBeRawPtr<DocumentLoader> FrameLoaderClientImpl::createDocumentLoad
er(LocalFrame* frame, const ResourceRequest& request, const SubstituteData& data
) |
| 658 { | 664 { |
| 659 RefPtrWillBeRawPtr<WebDataSourceImpl> ds = WebDataSourceImpl::create(frame,
request, data); | 665 RefPtrWillBeRawPtr<WebDataSourceImpl> ds = WebDataSourceImpl::create(frame,
request, data); |
| 660 if (m_webFrame->client()) | 666 if (m_webFrame->client()) |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 974 | 980 |
| 975 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) | 981 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde
nTerminationDisablerType type) |
| 976 { | 982 { |
| 977 if (m_webFrame->client()) { | 983 if (m_webFrame->client()) { |
| 978 m_webFrame->client()->suddenTerminationDisablerChanged( | 984 m_webFrame->client()->suddenTerminationDisablerChanged( |
| 979 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); | 985 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>(
type)); |
| 980 } | 986 } |
| 981 } | 987 } |
| 982 | 988 |
| 983 } // namespace blink | 989 } // namespace blink |
| OLD | NEW |