| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 case blink::WebAXEventLayoutComplete: | 352 case blink::WebAXEventLayoutComplete: |
| 353 return ui::AX_EVENT_LAYOUT_COMPLETE; | 353 return ui::AX_EVENT_LAYOUT_COMPLETE; |
| 354 case blink::WebAXEventLiveRegionChanged: | 354 case blink::WebAXEventLiveRegionChanged: |
| 355 return ui::AX_EVENT_LIVE_REGION_CHANGED; | 355 return ui::AX_EVENT_LIVE_REGION_CHANGED; |
| 356 case blink::WebAXEventLoadComplete: | 356 case blink::WebAXEventLoadComplete: |
| 357 return ui::AX_EVENT_LOAD_COMPLETE; | 357 return ui::AX_EVENT_LOAD_COMPLETE; |
| 358 case blink::WebAXEventLocationChanged: | 358 case blink::WebAXEventLocationChanged: |
| 359 return ui::AX_EVENT_LOCATION_CHANGED; | 359 return ui::AX_EVENT_LOCATION_CHANGED; |
| 360 case blink::WebAXEventMenuListItemSelected: | 360 case blink::WebAXEventMenuListItemSelected: |
| 361 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; | 361 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; |
| 362 case blink::WebAXEventMenuListItemUnselected: |
| 363 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; |
| 362 case blink::WebAXEventMenuListValueChanged: | 364 case blink::WebAXEventMenuListValueChanged: |
| 363 return ui::AX_EVENT_MENU_LIST_VALUE_CHANGED; | 365 return ui::AX_EVENT_MENU_LIST_VALUE_CHANGED; |
| 364 case blink::WebAXEventRowCollapsed: | 366 case blink::WebAXEventRowCollapsed: |
| 365 return ui::AX_EVENT_ROW_COLLAPSED; | 367 return ui::AX_EVENT_ROW_COLLAPSED; |
| 366 case blink::WebAXEventRowCountChanged: | 368 case blink::WebAXEventRowCountChanged: |
| 367 return ui::AX_EVENT_ROW_COUNT_CHANGED; | 369 return ui::AX_EVENT_ROW_COUNT_CHANGED; |
| 368 case blink::WebAXEventRowExpanded: | 370 case blink::WebAXEventRowExpanded: |
| 369 return ui::AX_EVENT_ROW_EXPANDED; | 371 return ui::AX_EVENT_ROW_EXPANDED; |
| 370 case blink::WebAXEventScrollPositionChanged: | 372 case blink::WebAXEventScrollPositionChanged: |
| 371 return ui::AX_EVENT_SCROLL_POSITION_CHANGED; | 373 return ui::AX_EVENT_SCROLL_POSITION_CHANGED; |
| 372 case blink::WebAXEventScrolledToAnchor: | 374 case blink::WebAXEventScrolledToAnchor: |
| 373 return ui::AX_EVENT_SCROLLED_TO_ANCHOR; | 375 return ui::AX_EVENT_SCROLLED_TO_ANCHOR; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 case blink::WebAXSortDirectionOther: | 442 case blink::WebAXSortDirectionOther: |
| 441 return ui::AX_SORT_DIRECTION_OTHER; | 443 return ui::AX_SORT_DIRECTION_OTHER; |
| 442 default: | 444 default: |
| 443 NOTREACHED(); | 445 NOTREACHED(); |
| 444 } | 446 } |
| 445 | 447 |
| 446 return ui::AX_SORT_DIRECTION_NONE; | 448 return ui::AX_SORT_DIRECTION_NONE; |
| 447 } | 449 } |
| 448 | 450 |
| 449 } // Namespace content. | 451 } // Namespace content. |
| OLD | NEW |