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

Side by Side Diff: Source/core/accessibility/AXNodeObject.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/config.gni ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 explicit AXNodeObject(Node*); 60 explicit AXNodeObject(Node*);
61 61
62 public: 62 public:
63 static PassRefPtr<AXNodeObject> create(Node*); 63 static PassRefPtr<AXNodeObject> create(Node*);
64 virtual ~AXNodeObject(); 64 virtual ~AXNodeObject();
65 65
66 protected: 66 protected:
67 // Protected data. 67 // Protected data.
68 AccessibilityRole m_ariaRole; 68 AccessibilityRole m_ariaRole;
69 bool m_childrenDirty; 69 bool m_childrenDirty;
70 #ifndef NDEBUG 70 #if ENABLE(ASSERT)
71 bool m_initialized; 71 bool m_initialized;
72 #endif 72 #endif
73 73
74 virtual bool computeAccessibilityIsIgnored() const OVERRIDE; 74 virtual bool computeAccessibilityIsIgnored() const OVERRIDE;
75 virtual AccessibilityRole determineAccessibilityRole(); 75 virtual AccessibilityRole determineAccessibilityRole();
76 76
77 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element> > &elements) const; 77 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element> > &elements) const;
78 void alterSliderValue(bool increase); 78 void alterSliderValue(bool increase);
79 String ariaAccessibilityDescription() const; 79 String ariaAccessibilityDescription() const;
80 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element> >& e lements) const; 80 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element> >& e lements) const;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void ariaLabeledByText(Vector<AccessibilityText>&) const; 208 void ariaLabeledByText(Vector<AccessibilityText>&) const;
209 void changeValueByPercent(float percentChange); 209 void changeValueByPercent(float percentChange);
210 float stepValueForRange() const; 210 float stepValueForRange() const;
211 }; 211 };
212 212
213 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 213 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
214 214
215 } // namespace WebCore 215 } // namespace WebCore
216 216
217 #endif // AXNodeObject_h 217 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « Source/config.gni ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698