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 <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 virtual void AccessibilityEventReceived( | 148 virtual void AccessibilityEventReceived( |
149 const std::vector<AXEventNotificationDetails>& details) {} | 149 const std::vector<AXEventNotificationDetails>& details) {} |
150 | 150 |
151 // Find a guest RenderFrameHost by its browser plugin instance id. | 151 // Find a guest RenderFrameHost by its browser plugin instance id. |
152 virtual RenderFrameHost* GetGuestByInstanceID( | 152 virtual RenderFrameHost* GetGuestByInstanceID( |
153 int browser_plugin_instance_id); | 153 int browser_plugin_instance_id); |
154 | 154 |
155 // Gets the GeolocationServiceContext associated with this delegate. | 155 // Gets the GeolocationServiceContext associated with this delegate. |
156 virtual GeolocationServiceContext* GetGeolocationServiceContext(); | 156 virtual GeolocationServiceContext* GetGeolocationServiceContext(); |
157 | 157 |
| 158 // Notification that the frame wants to go into fullscreen mode. |
| 159 // |origin| represents the origin of the frame that requests fullscreen. |
| 160 virtual void EnterFullscreenMode(const GURL& origin) {} |
| 161 |
| 162 // Notification that the frame wants to go out of fullscreen mode. |
| 163 virtual void ExitFullscreenMode() {} |
| 164 |
158 #if defined(OS_WIN) | 165 #if defined(OS_WIN) |
159 // Returns the frame's parent's NativeViewAccessible. | 166 // Returns the frame's parent's NativeViewAccessible. |
160 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 167 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
161 #endif | 168 #endif |
162 | 169 |
163 protected: | 170 protected: |
164 virtual ~RenderFrameHostDelegate() {} | 171 virtual ~RenderFrameHostDelegate() {} |
165 }; | 172 }; |
166 | 173 |
167 } // namespace content | 174 } // namespace content |
168 | 175 |
169 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 176 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |