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

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

Issue 2230093002: MacViews a11y: Allow accessibility clients to set the AXValue on some controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't say attributes are settable until implemented. Created 4 years, 4 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/platform/test_ax_node_wrapper.h" 6 #include "ui/accessibility/platform/test_ax_node_wrapper.h"
7 7
8 namespace ui { 8 namespace ui {
9 9
10 namespace { 10 namespace {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 return gfx::kNullAcceleratedWidget; 113 return gfx::kNullAcceleratedWidget;
114 } 114 }
115 115
116 void TestAXNodeWrapper::DoDefaultAction() { 116 void TestAXNodeWrapper::DoDefaultAction() {
117 } 117 }
118 118
119 bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value) { 119 bool TestAXNodeWrapper::SetStringValue(const base::string16& new_value) {
120 return false; 120 return false;
121 } 121 }
122 122
123 bool TestAXNodeWrapper::CanSetStringValue() {
124 return false;
125 }
126
123 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node) 127 TestAXNodeWrapper::TestAXNodeWrapper(AXTree* tree, AXNode* node)
124 : tree_(tree), 128 : tree_(tree),
125 node_(node), 129 node_(node),
126 platform_node_(AXPlatformNode::Create(this)) { 130 platform_node_(AXPlatformNode::Create(this)) {
127 } 131 }
128 132
129 } // namespace ui 133 } // namespace ui
OLDNEW
« 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