| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 return ui::AX_EVENT_LAYOUT_COMPLETE; | 337 return ui::AX_EVENT_LAYOUT_COMPLETE; |
| 338 case blink::WebAXEventLiveRegionChanged: | 338 case blink::WebAXEventLiveRegionChanged: |
| 339 return ui::AX_EVENT_LIVE_REGION_CHANGED; | 339 return ui::AX_EVENT_LIVE_REGION_CHANGED; |
| 340 case blink::WebAXEventLoadComplete: | 340 case blink::WebAXEventLoadComplete: |
| 341 return ui::AX_EVENT_LOAD_COMPLETE; | 341 return ui::AX_EVENT_LOAD_COMPLETE; |
| 342 case blink::WebAXEventLocationChanged: | 342 case blink::WebAXEventLocationChanged: |
| 343 return ui::AX_EVENT_LOCATION_CHANGED; | 343 return ui::AX_EVENT_LOCATION_CHANGED; |
| 344 case blink::WebAXEventMenuListItemSelected: | 344 case blink::WebAXEventMenuListItemSelected: |
| 345 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; | 345 return ui::AX_EVENT_MENU_LIST_ITEM_SELECTED; |
| 346 case blink::WebAXEventMenuListValueChanged: | 346 case blink::WebAXEventMenuListValueChanged: |
| 347 return ui::AX_EVENT_MENU_LIST_VALUE_CHANGED; | 347 return ui::AX_EVENT_MENU_LIST_VALUE_CHANGED; |
| 348 case blink::WebAXEventRowCollapsed: | 348 case blink::WebAXEventRowCollapsed: |
| 349 return ui::AX_EVENT_ROW_COLLAPSED; | 349 return ui::AX_EVENT_ROW_COLLAPSED; |
| 350 case blink::WebAXEventRowCountChanged: | 350 case blink::WebAXEventRowCountChanged: |
| 351 return ui::AX_EVENT_ROW_COUNT_CHANGED; | 351 return ui::AX_EVENT_ROW_COUNT_CHANGED; |
| 352 case blink::WebAXEventRowExpanded: | 352 case blink::WebAXEventRowExpanded: |
| 353 return ui::AX_EVENT_ROW_EXPANDED; | 353 return ui::AX_EVENT_ROW_EXPANDED; |
| 354 case blink::WebAXEventScrollPositionChanged: | 354 case blink::WebAXEventScrollPositionChanged: |
| 355 return ui::AX_EVENT_SCROLL_POSITION_CHANGED; | 355 return ui::AX_EVENT_SCROLL_POSITION_CHANGED; |
| 356 case blink::WebAXEventScrolledToAnchor: | 356 case blink::WebAXEventScrolledToAnchor: |
| 357 return ui::AX_EVENT_SCROLLED_TO_ANCHOR; | 357 return ui::AX_EVENT_SCROLLED_TO_ANCHOR; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 388 case blink::WebAXTextDirectionBT: | 388 case blink::WebAXTextDirectionBT: |
| 389 return ui::AX_TEXT_DIRECTION_BT; | 389 return ui::AX_TEXT_DIRECTION_BT; |
| 390 default: | 390 default: |
| 391 NOTREACHED(); | 391 NOTREACHED(); |
| 392 } | 392 } |
| 393 | 393 |
| 394 return ui::AX_TEXT_DIRECTION_NONE; | 394 return ui::AX_TEXT_DIRECTION_NONE; |
| 395 } | 395 } |
| 396 | 396 |
| 397 } // namespace content | 397 } // namespace content |
| OLD | NEW |