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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // Returns the ID of the default device for the given media device |type|. | 169 // Returns the ID of the default device for the given media device |type|. |
170 // If the returned value is an empty string, it means that there is no | 170 // If the returned value is an empty string, it means that there is no |
171 // default device for the given |type|. | 171 // default device for the given |type|. |
172 virtual std::string GetDefaultMediaDeviceID(MediaStreamType type); | 172 virtual std::string GetDefaultMediaDeviceID(MediaStreamType type); |
173 | 173 |
174 // Get the accessibility mode for the WebContents that owns this frame. | 174 // Get the accessibility mode for the WebContents that owns this frame. |
175 virtual AccessibilityMode GetAccessibilityMode() const; | 175 virtual AccessibilityMode GetAccessibilityMode() const; |
176 | 176 |
177 // Called when accessibility events or location changes are received | 177 // Called when accessibility events or location changes are received |
178 // from a render frame, when the accessibility mode has the | 178 // from a render frame, when the accessibility mode has the |
179 // ACCESSIBILITY_MODE_FLAG_WEB_CONTENTS flag set. | 179 // AccessibilityMode::kWebContents flag set. |
180 virtual void AccessibilityEventReceived( | 180 virtual void AccessibilityEventReceived( |
181 const std::vector<AXEventNotificationDetails>& details) {} | 181 const std::vector<AXEventNotificationDetails>& details) {} |
182 virtual void AccessibilityLocationChangesReceived( | 182 virtual void AccessibilityLocationChangesReceived( |
183 const std::vector<AXLocationChangeNotificationDetails>& details) {} | 183 const std::vector<AXLocationChangeNotificationDetails>& details) {} |
184 | 184 |
185 // Find a guest RenderFrameHost by its parent |render_frame_host| and | 185 // Find a guest RenderFrameHost by its parent |render_frame_host| and |
186 // |browser_plugin_instance_id|. | 186 // |browser_plugin_instance_id|. |
187 virtual RenderFrameHost* GetGuestByInstanceID( | 187 virtual RenderFrameHost* GetGuestByInstanceID( |
188 RenderFrameHost* render_frame_host, | 188 RenderFrameHost* render_frame_host, |
189 int browser_plugin_instance_id); | 189 int browser_plugin_instance_id); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 GetJavaRenderFrameHostDelegate(); | 299 GetJavaRenderFrameHostDelegate(); |
300 #endif | 300 #endif |
301 | 301 |
302 protected: | 302 protected: |
303 virtual ~RenderFrameHostDelegate() {} | 303 virtual ~RenderFrameHostDelegate() {} |
304 }; | 304 }; |
305 | 305 |
306 } // namespace content | 306 } // namespace content |
307 | 307 |
308 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 308 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
OLD | NEW |