Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Side by Side Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 1415923015: Downgrade lock icon for broken-HTTPS subresources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove console message; see comment to mike Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.h ('k') | third_party/WebKit/public/platform/WebURLResponse.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698