Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: content/renderer/accessibility/blink_ax_enum_conversion.h

Issue 1999633002: Make json_schema_compiler generate only int-sized enums Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "third_party/WebKit/public/web/WebAXObject.h" 10 #include "third_party/WebKit/public/web/WebAXObject.h"
11 #include "ui/accessibility/ax_enums.h" 11
12 namespace ui {
13 enum AXAriaCurrentState : int;
14 enum AXDescriptionFrom : int;
15 enum AXEvent : int;
16 enum AXInvalidState : int;
17 enum AXNameFrom : int;
18 enum AXRole : int;
19 enum AXSortDirection : int;
20 enum AXTextDirection : int;
21 enum AXTextStyle : int;
22 }
12 23
13 namespace content { 24 namespace content {
14 25
15 // Convert a Blink WebAXRole to an AXRole defined in ui/accessibility. 26 // Convert a Blink WebAXRole to an AXRole defined in ui/accessibility.
16 ui::AXRole AXRoleFromBlink(blink::WebAXRole role); 27 ui::AXRole AXRoleFromBlink(blink::WebAXRole role);
17 28
18 // Convert a Blink WebAXEvent to an AXEvent defined in ui/accessibility. 29 // Convert a Blink WebAXEvent to an AXEvent defined in ui/accessibility.
19 ui::AXEvent AXEventFromBlink(blink::WebAXEvent event); 30 ui::AXEvent AXEventFromBlink(blink::WebAXEvent event);
20 31
21 // Provides a conversion between the WebAXObject state 32 // Provides a conversion between the WebAXObject state
(...skipping 19 matching lines...) Expand all
41 blink::WebAXSortDirection sort_direction); 52 blink::WebAXSortDirection sort_direction);
42 53
43 ui::AXNameFrom AXNameFromFromBlink(blink::WebAXNameFrom name_from); 54 ui::AXNameFrom AXNameFromFromBlink(blink::WebAXNameFrom name_from);
44 55
45 ui::AXDescriptionFrom AXDescriptionFromFromBlink( 56 ui::AXDescriptionFrom AXDescriptionFromFromBlink(
46 blink::WebAXDescriptionFrom description_from); 57 blink::WebAXDescriptionFrom description_from);
47 58
48 } // namespace content 59 } // namespace content
49 60
50 #endif // CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_ 61 #endif // CONTENT_RENDERER_ACCESSIBILITY_BLINK_AX_ENUM_CONVERSION_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | tools/json_schema_compiler/h_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698