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

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

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a catch-all return to ignoredReasonName Created 5 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef InspectorTypeBuilderHelper_h
6 #define InspectorTypeBuilderHelper_h
7
8 #include "core/InspectorTypeBuilder.h"
9 #include "modules/ModulesExport.h"
10 #include "modules/accessibility/AXObject.h"
11 #include "modules/accessibility/AXObjectCacheImpl.h"
12
13 namespace blink {
14
15 using TypeBuilder::Accessibility::AXGlobalStates;
16 using TypeBuilder::Accessibility::AXLiveRegionAttributes;
17 using TypeBuilder::Accessibility::AXProperty;
18 using TypeBuilder::Accessibility::AXValueType;
19 using TypeBuilder::Accessibility::AXRelationshipAttributes;
20 using TypeBuilder::Accessibility::AXValue;
21 using TypeBuilder::Accessibility::AXWidgetAttributes;
22 using TypeBuilder::Accessibility::AXWidgetStates;
23
24 PassRefPtr<AXProperty> createProperty(String name, PassRefPtr<AXValue>);
25 PassRefPtr<AXProperty> createProperty(AXGlobalStates::Enum name, PassRefPtr<AXVa lue>);
26 PassRefPtr<AXProperty> createProperty(AXLiveRegionAttributes::Enum name, PassRef Ptr<AXValue>);
27 PassRefPtr<AXProperty> createProperty(AXRelationshipAttributes::Enum name, PassR efPtr<AXValue>);
28 PassRefPtr<AXProperty> createProperty(AXWidgetAttributes::Enum name, PassRefPtr< AXValue>);
29 PassRefPtr<AXProperty> createProperty(AXWidgetStates::Enum name, PassRefPtr<AXVa lue>);
30 PassRefPtr<AXProperty> createProperty(IgnoredReason);
31
32 PassRefPtr<AXValue> createValue(String value, AXValueType::Enum = AXValueType::S tring);
33 PassRefPtr<AXValue> createValue(int value, AXValueType::Enum = AXValueType::Inte ger);
34 PassRefPtr<AXValue> createValue(float value, AXValueType::Enum = AXValueType::Nu mber);
35 PassRefPtr<AXValue> createBooleanValue(bool value, AXValueType::Enum = AXValueTy pe::Boolean);
36 PassRefPtr<AXValue> createRelatedNodeValue(const AXObject*);
37 PassRefPtr<AXValue> createRelatedNodeListValue(AXObject::AccessibilityChildrenVe ctor);
38
39 } // namespace blink
40
41 #endif // InspectorAccessibilityAgent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698