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

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

Issue 864533002: Fix template angle bracket syntax in modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 InvalidStateUndefined = 0, 265 InvalidStateUndefined = 0,
266 InvalidStateFalse, 266 InvalidStateFalse,
267 InvalidStateTrue, 267 InvalidStateTrue,
268 InvalidStateSpelling, 268 InvalidStateSpelling,
269 InvalidStateGrammar, 269 InvalidStateGrammar,
270 InvalidStateOther 270 InvalidStateOther
271 }; 271 };
272 272
273 class AXObject : public RefCounted<AXObject> { 273 class AXObject : public RefCounted<AXObject> {
274 public: 274 public:
275 typedef Vector<RefPtr<AXObject> > AccessibilityChildrenVector; 275 typedef Vector<RefPtr<AXObject>> AccessibilityChildrenVector;
276 276
277 struct PlainTextRange { 277 struct PlainTextRange {
278 278
279 unsigned start; 279 unsigned start;
280 unsigned length; 280 unsigned length;
281 281
282 PlainTextRange() 282 PlainTextRange()
283 : start(0) 283 : start(0)
284 , length(0) 284 , length(0)
285 { } 285 { }
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 // functions called here may only search up the tree (ancestors), not down. 633 // functions called here may only search up the tree (ancestors), not down.
634 void updateCachedAttributeValuesIfNeeded() const; 634 void updateCachedAttributeValuesIfNeeded() const;
635 }; 635 };
636 636
637 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 637 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
638 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 638 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
639 639
640 } // namespace blink 640 } // namespace blink
641 641
642 #endif // AXObject_h 642 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698