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

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

Issue 8917020: Adds a BrowserAccessibilityManager accessor to RenderWidgetHostView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove forward declaration. Created 9 years 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view.h
diff --git a/content/browser/renderer_host/render_widget_host_view.h b/content/browser/renderer_host/render_widget_host_view.h
index 5830ad33103dd4d67fdcded4b24287ee0e1e9df0..ee0f034de468995ca9288fb828161f9035c25a25 100644
--- a/content/browser/renderer_host/render_widget_host_view.h
+++ b/content/browser/renderer_host/render_widget_host_view.h
@@ -15,6 +15,7 @@
#include "base/process_util.h"
#include "base/callback_forward.h"
+#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "content/common/content_export.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
@@ -311,7 +312,12 @@ class RenderWidgetHostView {
virtual void OnAccessibilityNotifications(
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params) {
}
-
+ BrowserAccessibilityManager* browser_accessibility_manager() {
+ return browser_accessibility_manager_.get();
+ }
+ void browser_accessibility_manager(BrowserAccessibilityManager* manager) {
dmazzoni 2011/12/13 05:57:24 This should be called set_browser_accessibility_ma
David Tseng 2011/12/13 19:27:05 Realized this after uploading :). Done and for the
+ browser_accessibility_manager_.reset(manager);
+ }
gfx::Rect reserved_contents_rect() const {
return reserved_rect_;
}
@@ -354,6 +360,10 @@ class RenderWidgetHostView {
// The current selection range relative to the start of the web page.
ui::Range selection_range_;
+ // Manager of the tree representation of the WebKit render tree.
+ scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
+
+
private:
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698