Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 108 break; | 108 break; |
| 109 case ui::AX_ACTION_SHOW_CONTEXT_MENU: | 109 case ui::AX_ACTION_SHOW_CONTEXT_MENU: |
| 110 current_tree_->ShowContextMenu(data.target_node_id); | 110 current_tree_->ShowContextMenu(data.target_node_id); |
| 111 break; | 111 break; |
| 112 case ui::AX_ACTION_SET_ACCESSIBILITY_FOCUS: | 112 case ui::AX_ACTION_SET_ACCESSIBILITY_FOCUS: |
| 113 // Sent by ChromeVox but doesn't need to be handled by aura. | 113 // Sent by ChromeVox but doesn't need to be handled by aura. |
| 114 break; | 114 break; |
| 115 case ui::AX_ACTION_SET_SEQUENTIAL_FOCUS_NAVIGATION_STARTING_POINT: | 115 case ui::AX_ACTION_SET_SEQUENTIAL_FOCUS_NAVIGATION_STARTING_POINT: |
| 116 // Sent by ChromeVox but doesn't need to be handled by aura. | 116 // Sent by ChromeVox but doesn't need to be handled by aura. |
| 117 break; | 117 break; |
| 118 case ui::AX_ACTION_BLUR: | |
|
tapted
2016/11/21 02:15:43
I'm not sure if this is the right place, but dmazo
Patti Lor
2016/11/21 23:24:38
Acknowledged.
| |
| 118 case ui::AX_ACTION_DECREMENT: | 119 case ui::AX_ACTION_DECREMENT: |
| 119 case ui::AX_ACTION_HIT_TEST: | 120 case ui::AX_ACTION_HIT_TEST: |
| 120 case ui::AX_ACTION_INCREMENT: | 121 case ui::AX_ACTION_INCREMENT: |
| 121 case ui::AX_ACTION_REPLACE_SELECTED_TEXT: | 122 case ui::AX_ACTION_REPLACE_SELECTED_TEXT: |
| 122 case ui::AX_ACTION_SCROLL_TO_POINT: | 123 case ui::AX_ACTION_SCROLL_TO_POINT: |
| 123 case ui::AX_ACTION_SET_SCROLL_OFFSET: | 124 case ui::AX_ACTION_SET_SCROLL_OFFSET: |
| 124 case ui::AX_ACTION_SET_VALUE: | 125 case ui::AX_ACTION_SET_VALUE: |
| 125 // Not implemented yet. | 126 // Not implemented yet. |
| 126 NOTREACHED(); | 127 NOTREACHED(); |
| 127 break; | 128 break; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 192 | 193 |
| 193 processing_events_ = false; | 194 processing_events_ = false; |
| 194 auto pending_events_copy = pending_events_; | 195 auto pending_events_copy = pending_events_; |
| 195 pending_events_.clear(); | 196 pending_events_.clear(); |
| 196 for (size_t i = 0; i < pending_events_copy.size(); ++i) { | 197 for (size_t i = 0; i < pending_events_copy.size(); ++i) { |
| 197 SendEvent(context, | 198 SendEvent(context, |
| 198 pending_events_copy[i].first, | 199 pending_events_copy[i].first, |
| 199 pending_events_copy[i].second); | 200 pending_events_copy[i].second); |
| 200 } | 201 } |
| 201 } | 202 } |
| OLD | NEW |