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

Side by Side Diff: content/browser/frame_host/render_frame_host_delegate.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Rebase after 3 spin off CLs landed. Created 4 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 // Set the |node| frame as focused in the current FrameTree as well as 207 // Set the |node| frame as focused in the current FrameTree as well as
208 // possibly changing focus in distinct but related inner/outer WebContents. 208 // possibly changing focus in distinct but related inner/outer WebContents.
209 virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {} 209 virtual void SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {}
210 210
211 // Creates a WebUI object for a frame navigating to |url|. If no WebUI 211 // Creates a WebUI object for a frame navigating to |url|. If no WebUI
212 // applies, returns null. 212 // applies, returns null.
213 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( 213 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost(
214 const GURL& url); 214 const GURL& url);
215 215
216 // Notifies that mixed-content was displayed or ran within the container
217 // WebContents.
218 virtual void DidDisplayInsecureContent() {}
219 virtual void DidRunInsecureContent(const GURL& security_origin,
220 const GURL& target_url) {}
221
216 protected: 222 protected:
217 virtual ~RenderFrameHostDelegate() {} 223 virtual ~RenderFrameHostDelegate() {}
218 }; 224 };
219 225
220 } // namespace content 226 } // namespace content
221 227
222 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 228 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698