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

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: Insert proper includes. 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.cc » ('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..b2adb5c1b9cfcfd77d9df2030ecbe71e30a91457 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;
@@ -312,6 +314,9 @@ class RenderWidgetHostView {
const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params) {
}
+ BrowserAccessibilityManager* GetBrowserAccessibilityManager() const;
+ void SetBrowserAccessibilityManager(BrowserAccessibilityManager* manager);
+
gfx::Rect reserved_contents_rect() const {
return reserved_rect_;
}
@@ -355,6 +360,9 @@ class RenderWidgetHostView {
ui::Range selection_range_;
private:
+ // Manager of the tree representation of the WebKit render tree.
+ scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
+
DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostView);
};
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698