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

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

Issue 407493004: Revert of Revert of Migrate accessibility from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 91ce94316f93bb39bbdfd529c0b7a05e0a8c15d4..0efed290ddec20a24e2bcd2ff50834b49276508b 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -16,6 +16,7 @@
namespace content {
+class BrowserAccessibilityManager;
class RenderWidgetHostImpl;
struct NativeWebKeyboardEvent;
@@ -62,8 +63,15 @@
// 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