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

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 include of browser_accessibility_manager.h from header. 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
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..3b4a171f25765e34c7b3fb5d425fadd888693cbd 100644
--- a/content/browser/renderer_host/render_widget_host_view.h
+++ b/content/browser/renderer_host/render_widget_host_view.h
@@ -13,6 +13,7 @@
#include <string>
#include <vector>
+#include "base/memory/scoped_ptr.h"
#include "base/process_util.h"
#include "base/callback_forward.h"
#include "content/common/content_export.h"
@@ -30,6 +31,7 @@ struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params;
class BackingStore;
+class BrowserAccessibilityManager;
class RenderWidgetHost;
class WebCursor;
struct NativeWebKeyboardEvent;
@@ -311,7 +313,8 @@ class RenderWidgetHostView {
virtual void OnAccessibilityNotifications(
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params) {
}
-
+ BrowserAccessibilityManager* browser_accessibility_manager();
dmazzoni 2011/12/13 20:52:36 This can be a const method.
sky 2011/12/13 21:37:12 If you use unix_hacker_style, inline int.
David Tseng 2011/12/13 23:59:22 Done.
David Tseng 2011/12/13 23:59:22 Reverted to Get*/Set* style.
+ void set_browser_accessibility_manager(BrowserAccessibilityManager* manager);
sky 2011/12/13 21:37:12 Since this runs a destructor, don't use unix_hacke
David Tseng 2011/12/13 23:59:22 Done.
gfx::Rect reserved_contents_rect() const {
return reserved_rect_;
}
@@ -354,6 +357,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_;
sky 2011/12/13 21:37:12 Make this private.
David Tseng 2011/12/13 23:59:22 Done.
+
+
private:
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
};

Powered by Google App Engine
This is Rietveld 408576698