| 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 #ifndef CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ | 5 #ifndef CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ |
| 6 #define CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ | 6 #define CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ |
| 7 | 7 |
| 8 #include "third_party/WebKit/public/web/WebAXObject.h" | 8 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 9 #include "ui/accessibility/ax_enums.h" | 9 #include "ui/accessibility/ax_enums.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 // Convert a Blink WebAXTextDirection to an AXTextDirection defined in | 25 // Convert a Blink WebAXTextDirection to an AXTextDirection defined in |
| 26 // ui/accessibility. | 26 // ui/accessibility. |
| 27 ui::AXTextDirection AXTextDirectionFromBlink( | 27 ui::AXTextDirection AXTextDirectionFromBlink( |
| 28 blink::WebAXTextDirection text_direction); | 28 blink::WebAXTextDirection text_direction); |
| 29 | 29 |
| 30 // Convert a Blink WebAXInvalidState to an AXInvalidState defined in | 30 // Convert a Blink WebAXInvalidState to an AXInvalidState defined in |
| 31 // ui/accessibility. | 31 // ui/accessibility. |
| 32 ui::AXInvalidState AXInvalidStateFromBlink( | 32 ui::AXInvalidState AXInvalidStateFromBlink( |
| 33 blink::WebAXInvalidState invalid_state); | 33 blink::WebAXInvalidState invalid_state); |
| 34 | 34 |
| 35 // Convert a Blink WebAXSortDirection to an AXSortDirection defined in |
| 36 // ui/accessibility. |
| 37 ui::AXSortDirection AXSortDirectionFromBlink( |
| 38 blink::WebAXSortDirection sort_direction); |
| 39 |
| 35 } // namespace content | 40 } // namespace content |
| 36 | 41 |
| 37 #endif // CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ | 42 #endif // CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ |
| OLD | NEW |