OLD | NEW |
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 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 18 matching lines...) Expand all Loading... |
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
31 */ | 31 */ |
32 | 32 |
33 #ifndef InputType_h | 33 #ifndef InputType_h |
34 #define InputType_h | 34 #define InputType_h |
35 | 35 |
36 #include "core/html/HTMLTextFormControlElement.h" | 36 #include "core/html/HTMLTextFormControlElement.h" |
37 #include "core/html/StepRange.h" | 37 #include "core/html/StepRange.h" |
38 #include "core/page/UseCounter.h" | 38 #include "core/page/UseCounter.h" |
39 #include <wtf/FastAllocBase.h> | 39 #include "wtf/FastAllocBase.h" |
40 #include <wtf/Forward.h> | 40 #include "wtf/Forward.h" |
41 #include <wtf/Noncopyable.h> | 41 #include "wtf/Noncopyable.h" |
42 #include <wtf/RefPtr.h> | 42 #include "wtf/RefPtr.h" |
43 #include <wtf/Vector.h> | |
44 | 43 |
45 namespace WebCore { | 44 namespace WebCore { |
46 | 45 |
47 class BeforeTextInsertedEvent; | 46 class BeforeTextInsertedEvent; |
48 class Chrome; | 47 class Chrome; |
49 class Color; | 48 class Color; |
50 class DateComponents; | 49 class DateComponents; |
51 class DragData; | 50 class DragData; |
52 class Event; | 51 class Event; |
53 class FileList; | 52 class FileList; |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 private: | 309 private: |
311 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 310 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
312 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); | 311 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); |
313 | 312 |
314 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. | 313 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. |
315 HTMLInputElement* m_element; | 314 HTMLInputElement* m_element; |
316 }; | 315 }; |
317 | 316 |
318 } // namespace WebCore | 317 } // namespace WebCore |
319 #endif | 318 #endif |
OLD | NEW |