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

Side by Side Diff: Source/core/html/InputType.cpp

Issue 15422005: Remove unused includes from core/html .cpp files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 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
« no previous file with comments | « Source/core/html/ImageDocument.cpp ('k') | Source/core/html/LabelableElement.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
8 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 8 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved.
9 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 9 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
10 * 10 *
(...skipping 13 matching lines...) Expand all
24 * Boston, MA 02110-1301, USA. 24 * Boston, MA 02110-1301, USA.
25 * 25 *
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "core/html/InputType.h" 29 #include "core/html/InputType.h"
30 30
31 #include <limits> 31 #include <limits>
32 #include "HTMLNames.h" 32 #include "HTMLNames.h"
33 #include "core/accessibility/AXObjectCache.h" 33 #include "core/accessibility/AXObjectCache.h"
34 #include "core/dom/BeforeTextInsertedEvent.h"
35 #include "core/dom/ExceptionCode.h" 34 #include "core/dom/ExceptionCode.h"
36 #include "core/dom/ExceptionCodePlaceholder.h" 35 #include "core/dom/ExceptionCodePlaceholder.h"
37 #include "core/dom/KeyboardEvent.h" 36 #include "core/dom/KeyboardEvent.h"
38 #include "core/dom/NodeRenderStyle.h" 37 #include "core/dom/NodeRenderStyle.h"
39 #include "core/dom/shadow/ElementShadow.h"
40 #include "core/dom/shadow/ShadowRoot.h" 38 #include "core/dom/shadow/ShadowRoot.h"
41 #include "core/fileapi/FileList.h" 39 #include "core/fileapi/FileList.h"
42 #include "core/html/ButtonInputType.h" 40 #include "core/html/ButtonInputType.h"
43 #include "core/html/CheckboxInputType.h" 41 #include "core/html/CheckboxInputType.h"
44 #include "core/html/ColorInputType.h" 42 #include "core/html/ColorInputType.h"
45 #include "core/html/DateInputType.h" 43 #include "core/html/DateInputType.h"
46 #include "core/html/DateTimeLocalInputType.h" 44 #include "core/html/DateTimeLocalInputType.h"
47 #include "core/html/EmailInputType.h" 45 #include "core/html/EmailInputType.h"
48 #include "core/html/FileInputType.h" 46 #include "core/html/FileInputType.h"
49 #include "core/html/FormController.h" 47 #include "core/html/FormController.h"
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after
1101 1099
1102 void InputType::observeFeatureIfVisible(UseCounter::Feature feature) const 1100 void InputType::observeFeatureIfVisible(UseCounter::Feature feature) const
1103 { 1101 {
1104 if (RenderStyle* style = element()->renderStyle()) { 1102 if (RenderStyle* style = element()->renderStyle()) {
1105 if (style->visibility() != HIDDEN) 1103 if (style->visibility() != HIDDEN)
1106 UseCounter::count(element()->document(), feature); 1104 UseCounter::count(element()->document(), feature);
1107 } 1105 }
1108 } 1106 }
1109 1107
1110 } // namespace WebCore 1108 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/ImageDocument.cpp ('k') | Source/core/html/LabelableElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698