| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 const MediaStreamRequest& request, | 130 const MediaStreamRequest& request, |
| 131 const MediaResponseCallback& callback); | 131 const MediaResponseCallback& callback); |
| 132 | 132 |
| 133 // Get the accessibility mode for the WebContents that owns this frame. | 133 // Get the accessibility mode for the WebContents that owns this frame. |
| 134 virtual AccessibilityMode GetAccessibilityMode() const; | 134 virtual AccessibilityMode GetAccessibilityMode() const; |
| 135 | 135 |
| 136 // Invoked when an accessibility event is received from the renderer. | 136 // Invoked when an accessibility event is received from the renderer. |
| 137 virtual void AccessibilityEventReceived( | 137 virtual void AccessibilityEventReceived( |
| 138 const std::vector<AXEventNotificationDetails>& details) {} | 138 const std::vector<AXEventNotificationDetails>& details) {} |
| 139 | 139 |
| 140 // Find a guest RenderFrameHost by its browser plugin instance id. |
| 141 virtual RenderFrameHost* GetGuestByInstanceID( |
| 142 int browser_plugin_instance_id); |
| 143 |
| 140 #if defined(OS_WIN) | 144 #if defined(OS_WIN) |
| 141 // Returns the frame's parent's NativeViewAccessible. | 145 // Returns the frame's parent's NativeViewAccessible. |
| 142 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); | 146 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible(); |
| 143 #endif | 147 #endif |
| 144 | 148 |
| 145 protected: | 149 protected: |
| 146 virtual ~RenderFrameHostDelegate() {} | 150 virtual ~RenderFrameHostDelegate() {} |
| 147 }; | 151 }; |
| 148 | 152 |
| 149 } // namespace content | 153 } // namespace content |
| 150 | 154 |
| 151 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ | 155 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_DELEGATE_H_ |
| OLD | NEW |