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

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

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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 void didStartLoading(LoadStartType) override; 107 void didStartLoading(LoadStartType) override;
108 void didStopLoading() override; 108 void didStopLoading() override;
109 void progressEstimateChanged(double progressEstimate) override; 109 void progressEstimateChanged(double progressEstimate) override;
110 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& suggestedName, bool shouldReplaceCurrentEntry) override; 110 void loadURLExternally(const ResourceRequest&, NavigationPolicy, const Strin g& suggestedName, bool shouldReplaceCurrentEntry) override;
111 bool navigateBackForward(int offset) const override; 111 bool navigateBackForward(int offset) const override;
112 void didAccessInitialDocument() override; 112 void didAccessInitialDocument() override;
113 void didDisplayInsecureContent() override; 113 void didDisplayInsecureContent() override;
114 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) overrid e; 114 void didRunInsecureContent(SecurityOrigin*, const KURL& insecureURL) overrid e;
115 void didDetectXSS(const KURL&, bool didBlockEntirePage) override; 115 void didDetectXSS(const KURL&, bool didBlockEntirePage) override;
116 void didDispatchPingLoader(const KURL&) override; 116 void didDispatchPingLoader(const KURL&) override;
117 void didDisplayContentWithCertificateErrors(const KURL&, const CString& secu rityInfo, const WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo ) override;
118 void didRunContentWithCertificateErrors(const KURL&, const CString& security Info, const WebURL& mainResourceUrl, const CString& mainResourceSecurityInfo) ov erride;
117 void didChangePerformanceTiming() override; 119 void didChangePerformanceTiming() override;
118 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override; 120 void selectorMatchChanged(const Vector<String>& addedSelectors, const Vector <String>& removedSelectors) override;
119 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override; 121 PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFrame*, con st ResourceRequest&, const SubstituteData&) override;
120 WTF::String userAgent() override; 122 WTF::String userAgent() override;
121 WTF::String doNotTrackValue() override; 123 WTF::String doNotTrackValue() override;
122 void transitionToCommittedForNewPage() override; 124 void transitionToCommittedForNewPage() override;
123 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override; 125 PassRefPtrWillBeRawPtr<LocalFrame> createFrame(const FrameLoadRequest&, cons t WTF::AtomicString& name, HTMLFrameOwnerElement*) override;
124 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const; 126 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const;
125 PassRefPtrWillBeRawPtr<Widget> createPlugin( 127 PassRefPtrWillBeRawPtr<Widget> createPlugin(
126 HTMLPlugInElement*, const KURL&, 128 HTMLPlugInElement*, const KURL&,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // The WebFrame that owns this object and manages its lifetime. Therefore, 189 // The WebFrame that owns this object and manages its lifetime. Therefore,
188 // the web frame object is guaranteed to exist. 190 // the web frame object is guaranteed to exist.
189 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame; 191 RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
190 }; 192 };
191 193
192 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl()); 194 DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFr ameLoaderClientImpl(), client.isFrameLoaderClientImpl());
193 195
194 } // namespace blink 196 } // namespace blink
195 197
196 #endif 198 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698