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

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

Issue 820203002: Support html br element in AX Tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: LineBreakRole Created 5 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 TextFieldRole, 160 TextFieldRole,
161 TimeRole, 161 TimeRole,
162 TimerRole, 162 TimerRole,
163 ToggleButtonRole, 163 ToggleButtonRole,
164 ToolbarRole, 164 ToolbarRole,
165 TreeGridRole, 165 TreeGridRole,
166 TreeItemRole, 166 TreeItemRole,
167 TreeRole, 167 TreeRole,
168 UserInterfaceTooltipRole, 168 UserInterfaceTooltipRole,
169 WebAreaRole, 169 WebAreaRole,
170 LineBreakRole,
170 WindowRole, 171 WindowRole,
171 NumRoles 172 NumRoles
172 }; 173 };
173 174
174 enum AccessibilityTextSource { 175 enum AccessibilityTextSource {
175 AlternativeText, 176 AlternativeText,
176 ChildrenText, 177 ChildrenText,
177 SummaryText, 178 SummaryText,
178 HelpText, 179 HelpText,
179 VisibleText, 180 VisibleText,
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
631 // functions called here may only search up the tree (ancestors), not down. 632 // functions called here may only search up the tree (ancestors), not down.
632 void updateCachedAttributeValuesIfNeeded() const; 633 void updateCachedAttributeValuesIfNeeded() const;
633 }; 634 };
634 635
635 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 636 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
636 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 637 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
637 638
638 } // namespace blink 639 } // namespace blink
639 640
640 #endif // AXObject_h 641 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698