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

Unified Diff: ui/accessibility/platform/test_ax_node_wrapper.cc

Issue 2474363002: MacViews/a11y: Accessibility actions use AXActionData in AXPlatformNodeDelegate. (Closed)
Patch Set: Review comments. Created 4 years, 1 month 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: ui/accessibility/platform/test_ax_node_wrapper.cc
diff --git a/ui/accessibility/platform/test_ax_node_wrapper.cc b/ui/accessibility/platform/test_ax_node_wrapper.cc
index 7388fd35758e77c4288f815f48bd1a9a02be6d23..2910684aeebfa476e47e38e4637d9f4333758430 100644
--- a/ui/accessibility/platform/test_ax_node_wrapper.cc
+++ b/ui/accessibility/platform/test_ax_node_wrapper.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/containers/hash_tables.h"
+#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/platform/test_ax_node_wrapper.h"
namespace ui {
@@ -116,21 +117,12 @@ TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() {
return gfx::kNullAcceleratedWidget;
}
-void TestAXNodeWrapper::DoDefaultAction() {
-}
-
-bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value,
- bool clear_first) {
+bool TestAXNodeWrapper::AccessibilityPerformAction(
+ const ui::AXActionData& data) {
return false;
}
-bool TestAXNodeWrapper::CanSetStringValue() {
- return false;
-}
-
-bool TestAXNodeWrapper::SetFocused(bool focused) {
- return false;
-}
+void TestAXNodeWrapper::DoDefaultAction() {}
TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node)
: tree_(tree),
« no previous file with comments | « ui/accessibility/platform/test_ax_node_wrapper.h ('k') | ui/views/accessibility/native_view_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698