| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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: | 118 case ui::AX_ACTION_BLUR: |
| 119 case ui::AX_ACTION_DECREMENT: | 119 case ui::AX_ACTION_DECREMENT: |
| 120 case ui::AX_ACTION_GET_IMAGE_DATA: |
| 120 case ui::AX_ACTION_HIT_TEST: | 121 case ui::AX_ACTION_HIT_TEST: |
| 121 case ui::AX_ACTION_INCREMENT: | 122 case ui::AX_ACTION_INCREMENT: |
| 122 case ui::AX_ACTION_REPLACE_SELECTED_TEXT: | 123 case ui::AX_ACTION_REPLACE_SELECTED_TEXT: |
| 123 case ui::AX_ACTION_SCROLL_TO_POINT: | 124 case ui::AX_ACTION_SCROLL_TO_POINT: |
| 124 case ui::AX_ACTION_SET_SCROLL_OFFSET: | 125 case ui::AX_ACTION_SET_SCROLL_OFFSET: |
| 125 case ui::AX_ACTION_SET_VALUE: | 126 case ui::AX_ACTION_SET_VALUE: |
| 126 // Not implemented yet. | 127 // Not implemented yet. |
| 127 NOTREACHED(); | 128 NOTREACHED(); |
| 128 break; | 129 break; |
| 129 case ui::AX_ACTION_NONE: | 130 case ui::AX_ACTION_NONE: |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 194 |
| 194 processing_events_ = false; | 195 processing_events_ = false; |
| 195 auto pending_events_copy = pending_events_; | 196 auto pending_events_copy = pending_events_; |
| 196 pending_events_.clear(); | 197 pending_events_.clear(); |
| 197 for (size_t i = 0; i < pending_events_copy.size(); ++i) { | 198 for (size_t i = 0; i < pending_events_copy.size(); ++i) { |
| 198 SendEvent(context, | 199 SendEvent(context, |
| 199 pending_events_copy[i].first, | 200 pending_events_copy[i].first, |
| 200 pending_events_copy[i].second); | 201 pending_events_copy[i].second); |
| 201 } | 202 } |
| 202 } | 203 } |
| OLD | NEW |