| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "content/renderer/accessibility/blink_ax_enum_conversion.h" | 5 #include "content/renderer/accessibility/blink_ax_enum_conversion.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 case blink::WebAXEventLayoutComplete: | 353 case blink::WebAXEventLayoutComplete: |
| 354 return ui::AX_EVENT_LAYOUT_COMPLETE; | 354 return ui::AX_EVENT_LAYOUT_COMPLETE; |
| 355 case blink::WebAXEventLiveRegionChanged: | 355 case blink::WebAXEventLiveRegionChanged: |
| 356 return ui::AX_EVENT_LIVE_REGION_CHANGED; | 356 return ui::AX_EVENT_LIVE_REGION_CHANGED; |
| 357 case blink::WebAXEventLoadComplete: | 357 case blink::WebAXEventLoadComplete: |
| 358 return ui::AX_EVENT_LOAD_COMPLETE; | 358 return ui::AX_EVENT_LOAD_COMPLETE; |
| 359 case blink::WebAXEventLocationChanged: | 359 case blink::WebAXEventLocationChanged: |
| 360 return ui::AX_EVENT_LOCATION_CHANGED; | 360 return ui::AX_EVENT_LOCATION_CHANGED; |
| 361 case blink::WebAXEventMenuListItemSelected: | 361 case blink::WebAXEventMenuListItemSelected: |
| 362 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; | 362 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; |
| 363 case blink::WebAXEventMenuListItemUnselected: |
| 364 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; |
| 363 case blink::WebAXEventMenuListValueChanged: | 365 case blink::WebAXEventMenuListValueChanged: |
| 364 return ui::AX_EVENT_MENU_LIST_VALUE_CHANGED; | 366 return ui::AX_EVENT_MENU_LIST_VALUE_CHANGED; |
| 365 case blink::WebAXEventRowCollapsed: | 367 case blink::WebAXEventRowCollapsed: |
| 366 return ui::AX_EVENT_ROW_COLLAPSED; | 368 return ui::AX_EVENT_ROW_COLLAPSED; |
| 367 case blink::WebAXEventRowCountChanged: | 369 case blink::WebAXEventRowCountChanged: |
| 368 return ui::AX_EVENT_ROW_COUNT_CHANGED; | 370 return ui::AX_EVENT_ROW_COUNT_CHANGED; |
| 369 case blink::WebAXEventRowExpanded: | 371 case blink::WebAXEventRowExpanded: |
| 370 return ui::AX_EVENT_ROW_EXPANDED; | 372 return ui::AX_EVENT_ROW_EXPANDED; |
| 371 case blink::WebAXEventScrollPositionChanged: | 373 case blink::WebAXEventScrollPositionChanged: |
| 372 return ui::AX_EVENT_SCROLL_POSITION_CHANGED; | 374 return ui::AX_EVENT_SCROLL_POSITION_CHANGED; |
| 373 case blink::WebAXEventScrolledToAnchor: | 375 case blink::WebAXEventScrolledToAnchor: |
| 374 return ui::AX_EVENT_SCROLLED_TO_ANCHOR; | 376 return ui::AX_EVENT_SCROLLED_TO_ANCHOR; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 case blink::WebAXSortDirectionOther: | 443 case blink::WebAXSortDirectionOther: |
| 442 return ui::AX_SORT_DIRECTION_OTHER; | 444 return ui::AX_SORT_DIRECTION_OTHER; |
| 443 default: | 445 default: |
| 444 NOTREACHED(); | 446 NOTREACHED(); |
| 445 } | 447 } |
| 446 | 448 |
| 447 return ui::AX_SORT_DIRECTION_NONE; | 449 return ui::AX_SORT_DIRECTION_NONE; |
| 448 } | 450 } |
| 449 | 451 |
| 450 } // Namespace content. | 452 } // Namespace content. |
| OLD | NEW |