| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 case blink::WebAXEventAriaAttributeChanged: | 350 case blink::WebAXEventAriaAttributeChanged: |
| 351 return ui::AX_EVENT_ARIA_ATTRIBUTE_CHANGED; | 351 return ui::AX_EVENT_ARIA_ATTRIBUTE_CHANGED; |
| 352 case blink::WebAXEventAutocorrectionOccured: | 352 case blink::WebAXEventAutocorrectionOccured: |
| 353 return ui::AX_EVENT_AUTOCORRECTION_OCCURED; | 353 return ui::AX_EVENT_AUTOCORRECTION_OCCURED; |
| 354 case blink::WebAXEventBlur: | 354 case blink::WebAXEventBlur: |
| 355 return ui::AX_EVENT_BLUR; | 355 return ui::AX_EVENT_BLUR; |
| 356 case blink::WebAXEventCheckedStateChanged: | 356 case blink::WebAXEventCheckedStateChanged: |
| 357 return ui::AX_EVENT_CHECKED_STATE_CHANGED; | 357 return ui::AX_EVENT_CHECKED_STATE_CHANGED; |
| 358 case blink::WebAXEventChildrenChanged: | 358 case blink::WebAXEventChildrenChanged: |
| 359 return ui::AX_EVENT_CHILDREN_CHANGED; | 359 return ui::AX_EVENT_CHILDREN_CHANGED; |
| 360 case blink::WebAXEventClicked: |
| 361 return ui::AX_EVENT_CLICKED; |
| 360 case blink::WebAXEventDocumentSelectionChanged: | 362 case blink::WebAXEventDocumentSelectionChanged: |
| 361 return ui::AX_EVENT_DOCUMENT_SELECTION_CHANGED; | 363 return ui::AX_EVENT_DOCUMENT_SELECTION_CHANGED; |
| 362 case blink::WebAXEventFocus: | 364 case blink::WebAXEventFocus: |
| 363 return ui::AX_EVENT_FOCUS; | 365 return ui::AX_EVENT_FOCUS; |
| 364 case blink::WebAXEventHover: | 366 case blink::WebAXEventHover: |
| 365 return ui::AX_EVENT_HOVER; | 367 return ui::AX_EVENT_HOVER; |
| 366 case blink::WebAXEventInvalidStatusChanged: | 368 case blink::WebAXEventInvalidStatusChanged: |
| 367 return ui::AX_EVENT_INVALID_STATUS_CHANGED; | 369 return ui::AX_EVENT_INVALID_STATUS_CHANGED; |
| 368 case blink::WebAXEventLayoutComplete: | 370 case blink::WebAXEventLayoutComplete: |
| 369 return ui::AX_EVENT_LAYOUT_COMPLETE; | 371 return ui::AX_EVENT_LAYOUT_COMPLETE; |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 case blink::WebAXDescriptionFromRelatedElement: | 518 case blink::WebAXDescriptionFromRelatedElement: |
| 517 return ui::AX_DESCRIPTION_FROM_RELATED_ELEMENT; | 519 return ui::AX_DESCRIPTION_FROM_RELATED_ELEMENT; |
| 518 default: | 520 default: |
| 519 NOTREACHED(); | 521 NOTREACHED(); |
| 520 } | 522 } |
| 521 | 523 |
| 522 return ui::AX_DESCRIPTION_FROM_UNINITIALIZED; | 524 return ui::AX_DESCRIPTION_FROM_UNINITIALIZED; |
| 523 } | 525 } |
| 524 | 526 |
| 525 } // namespace content. | 527 } // namespace content. |
| OLD | NEW |