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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 Element* containerElement() const; | 75 Element* containerElement() const; |
76 | 76 |
77 private: | 77 private: |
78 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE FINAL; | 78 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE FINAL; |
79 virtual bool isTextField() const OVERRIDE FINAL; | 79 virtual bool isTextField() const OVERRIDE FINAL; |
80 virtual bool valueMissing(const String&) const OVERRIDE; | 80 virtual bool valueMissing(const String&) const OVERRIDE; |
81 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; | 81 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; |
82 virtual void forwardEvent(Event*) OVERRIDE FINAL; | 82 virtual void forwardEvent(Event*) OVERRIDE FINAL; |
83 virtual bool shouldSubmitImplicitly(Event*) OVERRIDE FINAL; | 83 virtual bool shouldSubmitImplicitly(Event*) OVERRIDE FINAL; |
84 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; | 84 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; |
85 virtual bool shouldUseInputMethod() const OVERRIDE; | |
86 virtual String sanitizeValue(const String&) const OVERRIDE; | 85 virtual String sanitizeValue(const String&) const OVERRIDE; |
87 virtual bool shouldRespectListAttribute() OVERRIDE; | 86 virtual bool shouldRespectListAttribute() OVERRIDE; |
88 virtual void listAttributeTargetChanged() OVERRIDE; | 87 virtual void listAttributeTargetChanged() OVERRIDE; |
89 virtual void updatePlaceholderText() OVERRIDE FINAL; | 88 virtual void updatePlaceholderText() OVERRIDE FINAL; |
90 virtual bool appendFormData(FormDataList&, bool multipart) const OVERRIDE; | 89 virtual bool appendFormData(FormDataList&, bool multipart) const OVERRIDE; |
91 virtual void subtreeHasChanged() OVERRIDE FINAL; | 90 virtual void subtreeHasChanged() OVERRIDE FINAL; |
92 | 91 |
93 // SpinButtonElement::SpinButtonOwner functions. | 92 // SpinButtonElement::SpinButtonOwner functions. |
94 virtual void focusAndSelectSpinButtonOwner() OVERRIDE FINAL; | 93 virtual void focusAndSelectSpinButtonOwner() OVERRIDE FINAL; |
95 virtual bool shouldSpinButtonRespondToMouseEvents() OVERRIDE FINAL; | 94 virtual bool shouldSpinButtonRespondToMouseEvents() OVERRIDE FINAL; |
96 virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE FINAL; | 95 virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE FINAL; |
97 virtual void spinButtonStepDown() OVERRIDE FINAL; | 96 virtual void spinButtonStepDown() OVERRIDE FINAL; |
98 virtual void spinButtonStepUp() OVERRIDE FINAL; | 97 virtual void spinButtonStepUp() OVERRIDE FINAL; |
99 virtual void spinButtonDidReleaseMouseCapture(SpinButtonElement::EventDispat
ch) OVERRIDE FINAL; | 98 virtual void spinButtonDidReleaseMouseCapture(SpinButtonElement::EventDispat
ch) OVERRIDE FINAL; |
100 | 99 |
101 SpinButtonElement* spinButtonElement() const; | 100 SpinButtonElement* spinButtonElement() const; |
102 }; | 101 }; |
103 | 102 |
104 } // namespace blink | 103 } // namespace blink |
105 | 104 |
106 #endif // TextFieldInputType_h | 105 #endif // TextFieldInputType_h |
OLD | NEW |