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

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

Issue 2474363002: MacViews/a11y: Accessibility actions use AXActionData in AXPlatformNodeDelegate. (Closed)
Patch Set: Return things to prevent compile errors. 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..40443a6f1bcaa6ee2ed20127a388d4e1e8115677 100644
--- a/ui/accessibility/platform/test_ax_node_wrapper.cc
+++ b/ui/accessibility/platform/test_ax_node_wrapper.cc
@@ -116,21 +116,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),

Powered by Google App Engine
This is Rietveld 408576698