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

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

Issue 2012723003: Remove unnecessary inclusions of LayoutObject-derived headers in modules/accessibility/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 5
6 #include "modules/accessibility/AXRadioInput.h" 6 #include "modules/accessibility/AXRadioInput.h"
7 7
8 #include "core/InputTypeNames.h" 8 #include "core/InputTypeNames.h"
9 #include "core/html/HTMLInputElement.h" 9 #include "core/html/HTMLInputElement.h"
10 #include "core/html/forms/RadioInputType.h" 10 #include "core/html/forms/RadioInputType.h"
11 #include "core/layout/LayoutObject.h"
11 #include "modules/accessibility/AXObjectCacheImpl.h" 12 #include "modules/accessibility/AXObjectCacheImpl.h"
12 13
13 namespace blink { 14 namespace blink {
14 15
15 using namespace HTMLNames; 16 using namespace HTMLNames;
16 17
17 AXRadioInput::AXRadioInput(LayoutObject* layoutObject, AXObjectCacheImpl& axObje ctCache) 18 AXRadioInput::AXRadioInput(LayoutObject* layoutObject, AXObjectCacheImpl& axObje ctCache)
18 : AXLayoutObject(layoutObject, axObjectCache) 19 : AXLayoutObject(layoutObject, axObjectCache)
19 { 20 {
20 // Updates posInSet and setSize for the current object and the next objects. 21 // Updates posInSet and setSize for the current object and the next objects.
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int AXRadioInput::sizeOfRadioGroup() const 126 int AXRadioInput::sizeOfRadioGroup() const
126 { 127 {
127 int size = element()->sizeOfRadioGroup(); 128 int size = element()->sizeOfRadioGroup();
128 // If it has no size in Group, it means that there is only itself. 129 // If it has no size in Group, it means that there is only itself.
129 if (!size) 130 if (!size)
130 return 1; 131 return 1;
131 return size; 132 return size;
132 } 133 }
133 134
134 } // namespace blink 135 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698