| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef TextFieldInputType_h | 31 #ifndef TextFieldInputType_h |
| 32 #define TextFieldInputType_h | 32 #define TextFieldInputType_h |
| 33 | 33 |
| 34 #include "core/html/forms/InputType.h" | 34 #include "core/html/forms/InputType.h" |
| 35 #include "core/html/forms/InputTypeView.h" | 35 #include "core/html/forms/InputTypeView.h" |
| 36 #include "core/html/shadow/SpinButtonElement.h" | 36 #include "core/html/shadow/SpinButtonElement.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class FormDataList; | |
| 41 | |
| 42 // The class represents types of which UI contain text fields. | 40 // The class represents types of which UI contain text fields. |
| 43 // It supports not only the types for BaseTextInputType but also type=number. | 41 // It supports not only the types for BaseTextInputType but also type=number. |
| 44 class TextFieldInputType : public InputType, | 42 class TextFieldInputType : public InputType, |
| 45 public InputTypeView, | 43 public InputTypeView, |
| 46 protected SpinButtonElement::SpinButtonOwner { | 44 protected SpinButtonElement::SpinButtonOwner { |
| 47 USING_GARBAGE_COLLECTED_MIXIN(TextFieldInputType); | 45 USING_GARBAGE_COLLECTED_MIXIN(TextFieldInputType); |
| 48 | 46 |
| 49 public: | 47 public: |
| 50 DECLARE_VIRTUAL_TRACE(); | 48 DECLARE_VIRTUAL_TRACE(); |
| 51 using InputType::element; | 49 using InputType::element; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 void spinButtonStepDown() final; | 100 void spinButtonStepDown() final; |
| 103 void spinButtonStepUp() final; | 101 void spinButtonStepUp() final; |
| 104 void spinButtonDidReleaseMouseCapture(SpinButtonElement::EventDispatch) final; | 102 void spinButtonDidReleaseMouseCapture(SpinButtonElement::EventDispatch) final; |
| 105 | 103 |
| 106 SpinButtonElement* spinButtonElement() const; | 104 SpinButtonElement* spinButtonElement() const; |
| 107 }; | 105 }; |
| 108 | 106 |
| 109 } // namespace blink | 107 } // namespace blink |
| 110 | 108 |
| 111 #endif // TextFieldInputType_h | 109 #endif // TextFieldInputType_h |
| OLD | NEW |