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

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: MixedContent::ContextType comes from the renderer; lessen Blink public code; fixed build. Created 3 years, 11 months 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 const GURL& url); 218 const GURL& url);
219 219
220 // Called by |frame| to notify that it has received an update on focused 220 // Called by |frame| to notify that it has received an update on focused
221 // element. |bounds_in_root_view| is the rectangle containing the element that 221 // element. |bounds_in_root_view| is the rectangle containing the element that
222 // is focused and is with respect to root frame's RenderWidgetHost's 222 // is focused and is with respect to root frame's RenderWidgetHost's
223 // coordinate space. 223 // coordinate space.
224 virtual void OnFocusedElementChangedInFrame( 224 virtual void OnFocusedElementChangedInFrame(
225 RenderFrameHostImpl* frame, 225 RenderFrameHostImpl* frame,
226 const gfx::Rect& bounds_in_root_view) {} 226 const gfx::Rect& bounds_in_root_view) {}
227 227
228 // Notifies that mixed-content was displayed or ran within the container
229 // WebContents.
230 virtual void DidDisplayInsecureContent() {}
231 virtual void DidRunInsecureContent(const GURL& security_origin,
232 const GURL& target_url) {}
233
228 protected: 234 protected:
229 virtual ~RenderFrameHostDelegate() {} 235 virtual ~RenderFrameHostDelegate() {}
230 }; 236 };
231 237
232 } // namespace content 238 } // namespace content
233 239
234 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ 240 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698