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 <vector> | 10 #include <vector> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #if defined(OS_WIN) | 22 #if defined(OS_WIN) |
23 #include "ui/gfx/native_widget_types.h" | 23 #include "ui/gfx/native_widget_types.h" |
24 #endif | 24 #endif |
25 | 25 |
26 class GURL; | 26 class GURL; |
27 | 27 |
28 namespace IPC { | 28 namespace IPC { |
29 class Message; | 29 class Message; |
30 } | 30 } |
31 | 31 |
32 namespace device { | 32 namespace content { |
33 class GeolocationServiceContext; | 33 class GeolocationServiceContext; |
34 } | |
35 | |
36 namespace content { | |
37 class InterstitialPage; | 34 class InterstitialPage; |
38 class PageState; | 35 class PageState; |
39 class RenderFrameHost; | 36 class RenderFrameHost; |
40 class WakeLockServiceContext; | 37 class WakeLockServiceContext; |
41 class WebContents; | 38 class WebContents; |
42 struct AXEventNotificationDetails; | 39 struct AXEventNotificationDetails; |
43 struct ContextMenuParams; | 40 struct ContextMenuParams; |
44 struct FileChooserParams; | 41 struct FileChooserParams; |
45 struct TransitionLayerData; | 42 struct TransitionLayerData; |
46 | 43 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 virtual void AccessibilityEventReceived( | 142 virtual void AccessibilityEventReceived( |
146 const std::vector<AXEventNotificationDetails>& details) {} | 143 const std::vector<AXEventNotificationDetails>& details) {} |
147 | 144 |
148 // Find a guest RenderFrameHost by its parent |render_frame_host| and | 145 // Find a guest RenderFrameHost by its parent |render_frame_host| and |
149 // |browser_plugin_instance_id|. | 146 // |browser_plugin_instance_id|. |
150 virtual RenderFrameHost* GetGuestByInstanceID( | 147 virtual RenderFrameHost* GetGuestByInstanceID( |
151 RenderFrameHost* render_frame_host, | 148 RenderFrameHost* render_frame_host, |
152 int browser_plugin_instance_id); | 149 int browser_plugin_instance_id); |
153 | 150 |
154 // Gets the GeolocationServiceContext associated with this delegate. | 151 // Gets the GeolocationServiceContext associated with this delegate. |
155 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); | 152 virtual GeolocationServiceContext* GetGeolocationServiceContext(); |
156 | 153 |
157 // Gets the WakeLockServiceContext associated with this delegate. | 154 // Gets the WakeLockServiceContext associated with this delegate. |
158 virtual WakeLockServiceContext* GetWakeLockServiceContext(); | 155 virtual WakeLockServiceContext* GetWakeLockServiceContext(); |
159 | 156 |
160 // Notification that the frame wants to go into fullscreen mode. | 157 // Notification that the frame wants to go into fullscreen mode. |
161 // |origin| represents the origin of the frame that requests fullscreen. | 158 // |origin| represents the origin of the frame that requests fullscreen. |
162 virtual void EnterFullscreenMode(const GURL& origin) {} | 159 virtual void EnterFullscreenMode(const GURL& origin) {} |
163 | 160 |
164 // Notification that the frame wants to go out of fullscreen mode. | 161 // Notification that the frame wants to go out of fullscreen mode. |
165 // |will_cause_resize| indicates whether the fullscreen change causes a | 162 // |will_cause_resize| indicates whether the fullscreen change causes a |
(...skipping 26 matching lines...) Expand all Loading... |
192 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( | 189 virtual std::unique_ptr<WebUIImpl> CreateWebUIForRenderFrameHost( |
193 const GURL& url); | 190 const GURL& url); |
194 | 191 |
195 protected: | 192 protected: |
196 virtual ~RenderFrameHostDelegate() {} | 193 virtual ~RenderFrameHostDelegate() {} |
197 }; | 194 }; |
198 | 195 |
199 } // namespace content | 196 } // namespace content |
200 | 197 |
201 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 198 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |