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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObject.h

Issue 1595063002: Adds AX role for abbr tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 /* 1 /*
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class NameSource; 50 class NameSource;
51 class Node; 51 class Node;
52 class LayoutObject; 52 class LayoutObject;
53 class ScrollableArea; 53 class ScrollableArea;
54 class Widget; 54 class Widget;
55 55
56 typedef unsigned AXID; 56 typedef unsigned AXID;
57 57
58 enum AccessibilityRole { 58 enum AccessibilityRole {
59 UnknownRole = 0, 59 UnknownRole = 0,
60 AbbrRole, // No mapping to ARIA role
60 AlertDialogRole, 61 AlertDialogRole,
61 AlertRole, 62 AlertRole,
62 AnnotationRole, // No mapping to ARIA role 63 AnnotationRole, // No mapping to ARIA role
63 ApplicationRole, 64 ApplicationRole,
64 ArticleRole, 65 ArticleRole,
65 BannerRole, 66 BannerRole,
66 BlockquoteRole, // No mapping to ARIA role 67 BlockquoteRole, // No mapping to ARIA role
67 BusyIndicatorRole, // No mapping to ARIA role 68 BusyIndicatorRole, // No mapping to ARIA role
68 ButtonRole, 69 ButtonRole,
69 CanvasRole, // No mapping to ARIA role 70 CanvasRole, // No mapping to ARIA role
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
953 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 954 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
954 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 955 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
955 956
956 } // namespace blink 957 } // namespace blink
957 958
958 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); 959 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason);
959 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); 960 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource);
960 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); 961 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource);
961 962
962 #endif // AXObject_h 963 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698