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