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 a15c1131f8e3b77a191b9c8ff76bacbe3428ae69..250204e1488a813f898ba2bd5d4cee47aa0685ae 100644 |
--- a/content/browser/renderer_host/render_view_host_impl.h |
+++ b/content/browser/renderer_host/render_view_host_impl.h |
@@ -25,13 +25,10 @@ |
#include "third_party/WebKit/public/web/WebConsoleMessage.h" |
#include "third_party/WebKit/public/web/WebPopupType.h" |
#include "third_party/skia/include/core/SkColor.h" |
-#include "ui/accessibility/ax_node_data.h" |
#include "ui/base/window_open_disposition.h" |
class SkBitmap; |
class FrameMsg_Navigate; |
-struct AccessibilityHostMsg_EventParams; |
-struct AccessibilityHostMsg_LocationChangeParams; |
struct MediaPlayerAction; |
struct ViewHostMsg_CreateWindow_Params; |
struct ViewHostMsg_ShowPopup_Params; |
@@ -409,30 +406,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
// Set the opener to null in the renderer process. |
void DisownOpener(); |
- // Turn on accessibility testing. The given callback will be run |
- // every time an accessibility notification is received from the |
- // renderer process, and the accessibility tree it sent can be |
- // retrieved using accessibility_tree_for_testing(). |
- void SetAccessibilityCallbackForTesting( |
- const base::Callback<void(ui::AXEvent, int)>& callback); |
- |
- // Only valid if SetAccessibilityCallbackForTesting was called and |
- // the callback was run at least once. Returns a snapshot of the |
- // accessibility tree received from the renderer as of the last time |
- // an accessibility notification was received. |
- const ui::AXTree& ax_tree_for_testing() { |
- CHECK(ax_tree_.get()); |
- return *ax_tree_.get(); |
- } |
- |
- // Set accessibility callbacks. |
- void SetAccessibilityLayoutCompleteCallbackForTesting( |
- const base::Closure& callback); |
- void SetAccessibilityLoadCompleteCallbackForTesting( |
- const base::Closure& callback); |
- void SetAccessibilityOtherCallbackForTesting( |
- const base::Closure& callback); |
- |
bool is_waiting_for_beforeunload_ack() { |
return is_waiting_for_beforeunload_ack_; |
} |
@@ -513,10 +486,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
void OnUpdateInspectorSetting(const std::string& key, |
const std::string& value); |
void OnClosePageACK(); |
- void OnAccessibilityEvents( |
- const std::vector<AccessibilityHostMsg_EventParams>& params); |
- void OnAccessibilityLocationChanges( |
- const std::vector<AccessibilityHostMsg_LocationChangeParams>& params); |
void OnDidZoomURL(double zoom_level, const GURL& url); |
void OnRunFileChooser(const FileChooserParams& params); |
void OnFocusedNodeTouched(bool editable); |
@@ -609,12 +578,6 @@ class CONTENT_EXPORT RenderViewHostImpl |
// TODO(nasko): Move to RenderFrameHost, as this is per-frame state. |
bool unload_ack_is_for_cross_site_transition_; |
- // Accessibility callback for testing. |
- base::Callback<void(ui::AXEvent, int)> accessibility_testing_callback_; |
- |
- // The most recently received accessibility tree - for testing only. |
- scoped_ptr<ui::AXTree> ax_tree_; |
- |
// True if the render view can be shut down suddenly. |
bool sudden_termination_allowed_; |