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

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

Issue 15447002: Remove ~1750 superfluous includes from core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase a few hours 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/TelephoneInputType.cpp ('k') | Source/core/html/URLInputType.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * 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 17 matching lines...) Expand all
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "config.h" 32 #include "config.h"
33 #include "core/html/TextFieldInputType.h" 33 #include "core/html/TextFieldInputType.h"
34 34
35 #include "HTMLNames.h" 35 #include "HTMLNames.h"
36 #include "core/dom/BeforeTextInsertedEvent.h" 36 #include "core/dom/BeforeTextInsertedEvent.h"
37 #include "core/dom/KeyboardEvent.h" 37 #include "core/dom/KeyboardEvent.h"
38 #include "core/dom/NodeRenderStyle.h"
39 #include "core/dom/TextEvent.h" 38 #include "core/dom/TextEvent.h"
40 #include "core/dom/WheelEvent.h"
41 #include "core/dom/shadow/ElementShadow.h"
42 #include "core/dom/shadow/ShadowRoot.h" 39 #include "core/dom/shadow/ShadowRoot.h"
43 #include "core/editing/Editor.h" 40 #include "core/editing/Editor.h"
44 #include "core/editing/FrameSelection.h" 41 #include "core/editing/FrameSelection.h"
45 #include "core/editing/TextIterator.h" 42 #include "core/editing/TextIterator.h"
46 #include "core/html/FormDataList.h" 43 #include "core/html/FormDataList.h"
47 #include "core/html/HTMLInputElement.h" 44 #include "core/html/HTMLInputElement.h"
48 #include "core/html/shadow/TextControlInnerElements.h" 45 #include "core/html/shadow/TextControlInnerElements.h"
49 #include "core/page/Chrome.h" 46 #include "core/page/Chrome.h"
50 #include "core/page/ChromeClient.h" 47 #include "core/page/ChromeClient.h"
51 #include "core/page/Frame.h" 48 #include "core/page/Frame.h"
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 { 512 {
516 return !element()->isDisabledOrReadOnly(); 513 return !element()->isDisabledOrReadOnly();
517 } 514 }
518 515
519 bool TextFieldInputType::shouldSpinButtonRespondToWheelEvents() 516 bool TextFieldInputType::shouldSpinButtonRespondToWheelEvents()
520 { 517 {
521 return shouldSpinButtonRespondToMouseEvents() && element()->focused(); 518 return shouldSpinButtonRespondToMouseEvents() && element()->focused();
522 } 519 }
523 520
524 } // namespace WebCore 521 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/TelephoneInputType.cpp ('k') | Source/core/html/URLInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698