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

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

Issue 2805493002: Boolean properties for Accessibility Object Model Phase 1 (Closed)
Patch Set: Back to previous patchset, ready to land Created 3 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef AXRadioInput_h 5 #ifndef AXRadioInput_h
6 #define AXRadioInput_h 6 #define AXRadioInput_h
7 7
8 #include "modules/accessibility/AXLayoutObject.h" 8 #include "modules/accessibility/AXLayoutObject.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 14 matching lines...) Expand all
25 HTMLInputElement* FindFirstRadioButtonInGroup( 25 HTMLInputElement* FindFirstRadioButtonInGroup(
26 HTMLInputElement* current) const; 26 HTMLInputElement* current) const;
27 27
28 int PosInSet() const final; 28 int PosInSet() const final;
29 int SetSize() const final; 29 int SetSize() const final;
30 30
31 private: 31 private:
32 AXRadioInput(LayoutObject*, AXObjectCacheImpl&); 32 AXRadioInput(LayoutObject*, AXObjectCacheImpl&);
33 bool CalculatePosInSet(); 33 bool CalculatePosInSet();
34 int CountFromFirstElement() const; 34 int CountFromFirstElement() const;
35 HTMLInputElement* GetElement() const; 35 HTMLInputElement* GetInputElement() const;
36 int SizeOfRadioGroup() const; 36 int SizeOfRadioGroup() const;
37 37
38 int pos_in_set_; 38 int pos_in_set_;
39 int set_size_; 39 int set_size_;
40 }; 40 };
41 41
42 DEFINE_AX_OBJECT_TYPE_CASTS(AXRadioInput, IsAXRadioInput()); 42 DEFINE_AX_OBJECT_TYPE_CASTS(AXRadioInput, IsAXRadioInput());
43 43
44 } // namespace blink 44 } // namespace blink
45 45
46 #endif // AXRadioInput_h 46 #endif // AXRadioInput_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698