Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1185)

Unified Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 273423004: Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index a3bc1397b8f09563005da483ed09f2952ac3e55b..e7a436582f0ecd759160fe02fc946f82c46f5253 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -17,6 +17,7 @@ class WebGestureEvent;
namespace content {
+class BrowserAccessibilityManager;
class RenderWidgetHostImpl;
struct NativeWebKeyboardEvent;
@@ -63,8 +64,15 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// Notifies that RenderWidgetHost will toggle touch emulation.
virtual void OnTouchEmulationEnabled(bool enabled) {}
+ // Get the root BrowserAccessibilityManager for this frame tree.
+ virtual BrowserAccessibilityManager* GetRootBrowserAccessibilityManager();
+
+ // Get the root BrowserAccessibilityManager for this frame tree,
+ // or create it if it doesn't exist.
+ virtual BrowserAccessibilityManager*
+ GetOrCreateRootBrowserAccessibilityManager();
+
#if defined(OS_WIN)
- // Returns the widget's parent's NativeViewAccessible.
virtual gfx::NativeViewAccessible GetParentNativeViewAccessible();
#endif
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698