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

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

Issue 10544099: Refactor all accessibility code out of webkit/glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac compile errors Created 8 years, 6 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_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 9ee3caa6a835e13c97aa4b7fc4c527080096be0c..3bb5fb4aaeea23e04e5ea1af5e24dbe297f0c5ab 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -16,6 +16,7 @@
#include "base/process_util.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/browser/site_instance_impl.h"
+#include "content/common/accessibility_node_data.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/render_view_host.h"
#include "content/public/common/javascript_message_type.h"
@@ -24,7 +25,6 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
-#include "webkit/glue/webaccessibility.h"
#include "webkit/glue/window_open_disposition.h"
class ChildProcessSecurityPolicyImpl;
@@ -53,10 +53,6 @@ namespace ui {
class Range;
}
-namespace webkit_glue {
-struct WebAccessibility;
-}
-
namespace content {
class SessionStorageNamespace;
@@ -411,7 +407,7 @@ class CONTENT_EXPORT RenderViewHostImpl
send_accessibility_updated_notifications_ = send;
}
- const webkit_glue::WebAccessibility& accessibility_tree_for_testing() {
+ const AccessibilityNodeData& accessibility_tree_for_testing() {
return accessibility_tree_;
}
@@ -642,7 +638,7 @@ class CONTENT_EXPORT RenderViewHostImpl
bool send_accessibility_updated_notifications_;
// The most recently received accessibility tree - for unit testing only.
- webkit_glue::WebAccessibility accessibility_tree_;
+ AccessibilityNodeData accessibility_tree_;
// The termination status of the last render view that terminated.
base::TerminationStatus render_view_termination_status_;

Powered by Google App Engine
This is Rietveld 408576698