| 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 29 matching lines...) Expand all Loading... |
| 40 namespace gfx { | 40 namespace gfx { |
| 41 class Rect; | 41 class Rect; |
| 42 } | 42 } |
| 43 | 43 |
| 44 namespace content { | 44 namespace content { |
| 45 class FrameTreeNode; | 45 class FrameTreeNode; |
| 46 class InterstitialPage; | 46 class InterstitialPage; |
| 47 class PageState; | 47 class PageState; |
| 48 class RenderFrameHost; | 48 class RenderFrameHost; |
| 49 class RenderFrameHostImpl; | 49 class RenderFrameHostImpl; |
| 50 class ScreenOrientationProvider; | |
| 51 class SessionStorageNamespace; | 50 class SessionStorageNamespace; |
| 52 class WebContents; | 51 class WebContents; |
| 53 struct AXEventNotificationDetails; | 52 struct AXEventNotificationDetails; |
| 54 struct AXLocationChangeNotificationDetails; | 53 struct AXLocationChangeNotificationDetails; |
| 55 struct ContextMenuParams; | 54 struct ContextMenuParams; |
| 56 struct FileChooserParams; | 55 struct FileChooserParams; |
| 57 | 56 |
| 58 namespace mojom { | 57 namespace mojom { |
| 59 class CreateNewWindowParams; | 58 class CreateNewWindowParams; |
| 60 } | 59 } |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 virtual RenderFrameHost* GetGuestByInstanceID( | 179 virtual RenderFrameHost* GetGuestByInstanceID( |
| 181 RenderFrameHost* render_frame_host, | 180 RenderFrameHost* render_frame_host, |
| 182 int browser_plugin_instance_id); | 181 int browser_plugin_instance_id); |
| 183 | 182 |
| 184 // Gets the GeolocationServiceContext associated with this delegate. | 183 // Gets the GeolocationServiceContext associated with this delegate. |
| 185 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); | 184 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); |
| 186 | 185 |
| 187 // Gets the WakeLockServiceContext associated with this delegate. | 186 // Gets the WakeLockServiceContext associated with this delegate. |
| 188 virtual device::WakeLockServiceContext* GetWakeLockServiceContext(); | 187 virtual device::WakeLockServiceContext* GetWakeLockServiceContext(); |
| 189 | 188 |
| 190 // Gets the ScreenOrientationProvider associated with this delegate. | |
| 191 virtual ScreenOrientationProvider* GetScreenOrientationProvider(); | |
| 192 | |
| 193 // Notification that the frame wants to go into fullscreen mode. | 189 // Notification that the frame wants to go into fullscreen mode. |
| 194 // |origin| represents the origin of the frame that requests fullscreen. | 190 // |origin| represents the origin of the frame that requests fullscreen. |
| 195 virtual void EnterFullscreenMode(const GURL& origin) {} | 191 virtual void EnterFullscreenMode(const GURL& origin) {} |
| 196 | 192 |
| 197 // Notification that the frame wants to go out of fullscreen mode. | 193 // Notification that the frame wants to go out of fullscreen mode. |
| 198 // |will_cause_resize| indicates whether the fullscreen change causes a | 194 // |will_cause_resize| indicates whether the fullscreen change causes a |
| 199 // view resize. e.g. This will be false when going from tab fullscreen to | 195 // view resize. e.g. This will be false when going from tab fullscreen to |
| 200 // browser fullscreen. | 196 // browser fullscreen. |
| 201 virtual void ExitFullscreenMode(bool will_cause_resize) {} | 197 virtual void ExitFullscreenMode(bool will_cause_resize) {} |
| 202 | 198 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 const gfx::Rect& initial_rect, | 271 const gfx::Rect& initial_rect, |
| 276 bool user_gesture) {} | 272 bool user_gesture) {} |
| 277 | 273 |
| 278 protected: | 274 protected: |
| 279 virtual ~RenderFrameHostDelegate() {} | 275 virtual ~RenderFrameHostDelegate() {} |
| 280 }; | 276 }; |
| 281 | 277 |
| 282 } // namespace content | 278 } // namespace content |
| 283 | 279 |
| 284 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 280 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| OLD | NEW |