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

Side by Side Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc

Issue 2477463003: Replace ui::AXViewState with AXNodeData and AXActionData (Closed)
Patch Set: Fix test 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/ui/aura/accessibility/automation_manager_aura.h" 5 #include "chrome/browser/ui/aura/accessibility/automation_manager_aura.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 case ui::AX_ACTION_SHOW_CONTEXT_MENU: 108 case ui::AX_ACTION_SHOW_CONTEXT_MENU:
109 current_tree_->ShowContextMenu(data.target_node_id); 109 current_tree_->ShowContextMenu(data.target_node_id);
110 break; 110 break;
111 case ui::AX_ACTION_SET_ACCESSIBILITY_FOCUS: 111 case ui::AX_ACTION_SET_ACCESSIBILITY_FOCUS:
112 // Sent by ChromeVox but doesn't need to be handled by aura. 112 // Sent by ChromeVox but doesn't need to be handled by aura.
113 break; 113 break;
114 case ui::AX_ACTION_SET_SEQUENTIAL_FOCUS_NAVIGATION_STARTING_POINT: 114 case ui::AX_ACTION_SET_SEQUENTIAL_FOCUS_NAVIGATION_STARTING_POINT:
115 // Sent by ChromeVox but doesn't need to be handled by aura. 115 // Sent by ChromeVox but doesn't need to be handled by aura.
116 break; 116 break;
117 case ui::AX_ACTION_HIT_TEST: 117 case ui::AX_ACTION_HIT_TEST:
118 case ui::AX_ACTION_REPLACE_SELECTED_TEXT:
118 case ui::AX_ACTION_SCROLL_TO_POINT: 119 case ui::AX_ACTION_SCROLL_TO_POINT:
119 case ui::AX_ACTION_SET_SCROLL_OFFSET: 120 case ui::AX_ACTION_SET_SCROLL_OFFSET:
120 case ui::AX_ACTION_SET_VALUE: 121 case ui::AX_ACTION_SET_VALUE:
121 // Not implemented yet. 122 // Not implemented yet.
122 NOTREACHED(); 123 NOTREACHED();
123 break; 124 break;
124 case ui::AX_ACTION_NONE: 125 case ui::AX_ACTION_NONE:
125 NOTREACHED(); 126 NOTREACHED();
126 break; 127 break;
127 } 128 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 188
188 processing_events_ = false; 189 processing_events_ = false;
189 auto pending_events_copy = pending_events_; 190 auto pending_events_copy = pending_events_;
190 pending_events_.clear(); 191 pending_events_.clear();
191 for (size_t i = 0; i < pending_events_copy.size(); ++i) { 192 for (size_t i = 0; i < pending_events_copy.size(); ++i) {
192 SendEvent(context, 193 SendEvent(context,
193 pending_events_copy[i].first, 194 pending_events_copy[i].first,
194 pending_events_copy[i].second); 195 pending_events_copy[i].second);
195 } 196 }
196 } 197 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_browsertest.cc ('k') | chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698