OLD | NEW |
---|---|
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 23 matching lines...) Expand all Loading... | |
34 | 34 |
35 namespace device { | 35 namespace device { |
36 class GeolocationServiceContext; | 36 class GeolocationServiceContext; |
37 class WakeLockServiceContext; | 37 class WakeLockServiceContext; |
38 } | 38 } |
39 | 39 |
40 namespace gfx { | 40 namespace gfx { |
41 class Rect; | 41 class Rect; |
42 } | 42 } |
43 | 43 |
44 namespace url { | |
45 class Origin; | |
46 } | |
47 | |
44 namespace content { | 48 namespace content { |
45 class FrameTreeNode; | 49 class FrameTreeNode; |
46 class InterstitialPage; | 50 class InterstitialPage; |
47 class PageState; | 51 class PageState; |
48 class RenderFrameHost; | 52 class RenderFrameHost; |
49 class RenderFrameHostImpl; | 53 class RenderFrameHostImpl; |
50 class ScreenOrientationProvider; | 54 class ScreenOrientationProvider; |
51 class SessionStorageNamespace; | 55 class SessionStorageNamespace; |
52 class WebContents; | 56 class WebContents; |
53 struct AXEventNotificationDetails; | 57 struct AXEventNotificationDetails; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
262 // CreateNewWindow. | 266 // CreateNewWindow. |
263 // | 267 // |
264 // Note: this is not called "ShowWindow" because that will clash with | 268 // Note: this is not called "ShowWindow" because that will clash with |
265 // the Windows function which is actually a #define. | 269 // the Windows function which is actually a #define. |
266 virtual void ShowCreatedWindow(int process_id, | 270 virtual void ShowCreatedWindow(int process_id, |
267 int main_frame_widget_route_id, | 271 int main_frame_widget_route_id, |
268 WindowOpenDisposition disposition, | 272 WindowOpenDisposition disposition, |
269 const gfx::Rect& initial_rect, | 273 const gfx::Rect& initial_rect, |
270 bool user_gesture) {} | 274 bool user_gesture) {} |
271 | 275 |
276 // Notifies that mixed-content was displayed or ran within the container | |
nasko
2017/01/12 18:32:38
You mean within the RenderFrameHost that is report
carlosk
2017/01/21 02:54:59
This report only matters at the WebContents level
| |
277 // WebContents. | |
278 virtual void DidDisplayInsecureContent() {} | |
279 virtual void DidRunInsecureContent(const GURL& security_origin, | |
280 const GURL& target_url) {} | |
281 | |
282 // Reports that passive mixed content was found at the specified url. | |
283 virtual void PassiveInsecureContentFound(const GURL& resource_url) {} | |
284 | |
285 // Checks if running of active mixed-content is allowed for the specified | |
286 // WebContents/tab. | |
287 virtual bool ShouldAllowRunningInsecureContent(bool allowed_per_settings, | |
288 const url::Origin& origin, | |
289 const GURL& resource_url, | |
290 WebContents* web_contents); | |
291 | |
272 protected: | 292 protected: |
273 virtual ~RenderFrameHostDelegate() {} | 293 virtual ~RenderFrameHostDelegate() {} |
274 }; | 294 }; |
275 | 295 |
276 } // namespace content | 296 } // namespace content |
277 | 297 |
278 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 298 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |