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

Side by Side Diff: ui/accessibility/platform/test_ax_node_wrapper.cc

Issue 2795843002: Move implementation of accessibility actions to views::View (Closed)
Patch Set: Fix win compile Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/containers/hash_tables.h" 5 #include "base/containers/hash_tables.h"
6 #include "ui/accessibility/ax_action_data.h" 6 #include "ui/accessibility/ax_action_data.h"
7 #include "ui/accessibility/platform/test_ax_node_wrapper.h" 7 #include "ui/accessibility/platform/test_ax_node_wrapper.h"
8 8
9 namespace ui { 9 namespace ui {
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 gfx::AcceleratedWidget 115 gfx::AcceleratedWidget
116 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() { 116 TestAXNodeWrapper::GetTargetForNativeAccessibilityEvent() {
117 return gfx::kNullAcceleratedWidget; 117 return gfx::kNullAcceleratedWidget;
118 } 118 }
119 119
120 bool TestAXNodeWrapper::AccessibilityPerformAction( 120 bool TestAXNodeWrapper::AccessibilityPerformAction(
121 const ui::AXActionData& data) { 121 const ui::AXActionData& data) {
122 return true; 122 return true;
123 } 123 }
124 124
125 void TestAXNodeWrapper::DoDefaultAction() {}
126
127 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) 125 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node)
128 : tree_(tree), 126 : tree_(tree),
129 node_(node), 127 node_(node),
130 platform_node_(AXPlatformNode::Create(this)) { 128 platform_node_(AXPlatformNode::Create(this)) {
131 } 129 }
132 130
133 } // namespace ui 131 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/platform/test_ax_node_wrapper.h ('k') | ui/views/accessibility/ax_aura_obj_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698