| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 virtual RenderFrameHost* GetGuestByInstanceID( | 173 virtual RenderFrameHost* GetGuestByInstanceID( |
| 175 RenderFrameHost* render_frame_host, | 174 RenderFrameHost* render_frame_host, |
| 176 int browser_plugin_instance_id); | 175 int browser_plugin_instance_id); |
| 177 | 176 |
| 178 // Gets the GeolocationServiceContext associated with this delegate. | 177 // Gets the GeolocationServiceContext associated with this delegate. |
| 179 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); | 178 virtual device::GeolocationServiceContext* GetGeolocationServiceContext(); |
| 180 | 179 |
| 181 // Gets the WakeLockServiceContext associated with this delegate. | 180 // Gets the WakeLockServiceContext associated with this delegate. |
| 182 virtual device::WakeLockServiceContext* GetWakeLockServiceContext(); | 181 virtual device::WakeLockServiceContext* GetWakeLockServiceContext(); |
| 183 | 182 |
| 184 // Gets the ScreenOrientationProvider associated with this delegate. | |
| 185 virtual ScreenOrientationProvider* GetScreenOrientationProvider(); | |
| 186 | |
| 187 // Notification that the frame wants to go into fullscreen mode. | 183 // Notification that the frame wants to go into fullscreen mode. |
| 188 // |origin| represents the origin of the frame that requests fullscreen. | 184 // |origin| represents the origin of the frame that requests fullscreen. |
| 189 virtual void EnterFullscreenMode(const GURL& origin) {} | 185 virtual void EnterFullscreenMode(const GURL& origin) {} |
| 190 | 186 |
| 191 // Notification that the frame wants to go out of fullscreen mode. | 187 // Notification that the frame wants to go out of fullscreen mode. |
| 192 // |will_cause_resize| indicates whether the fullscreen change causes a | 188 // |will_cause_resize| indicates whether the fullscreen change causes a |
| 193 // view resize. e.g. This will be false when going from tab fullscreen to | 189 // view resize. e.g. This will be false when going from tab fullscreen to |
| 194 // browser fullscreen. | 190 // browser fullscreen. |
| 195 virtual void ExitFullscreenMode(bool will_cause_resize) {} | 191 virtual void ExitFullscreenMode(bool will_cause_resize) {} |
| 196 | 192 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 const gfx::Rect& initial_rect, | 265 const gfx::Rect& initial_rect, |
| 270 bool user_gesture) {} | 266 bool user_gesture) {} |
| 271 | 267 |
| 272 protected: | 268 protected: |
| 273 virtual ~RenderFrameHostDelegate() {} | 269 virtual ~RenderFrameHostDelegate() {} |
| 274 }; | 270 }; |
| 275 | 271 |
| 276 } // namespace content | 272 } // namespace content |
| 277 | 273 |
| 278 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 274 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| OLD | NEW |