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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 protected: | 59 protected: |
60 virtual void attach() OVERRIDE; | 60 virtual void attach() OVERRIDE; |
61 virtual bool needsContainer() const; | 61 virtual bool needsContainer() const; |
62 virtual bool shouldHaveSpinButton() const; | 62 virtual bool shouldHaveSpinButton() const; |
63 virtual void createShadowSubtree() OVERRIDE; | 63 virtual void createShadowSubtree() OVERRIDE; |
64 virtual void destroyShadowSubtree() OVERRIDE; | 64 virtual void destroyShadowSubtree() OVERRIDE; |
65 virtual void attributeChanged() OVERRIDE; | 65 virtual void attributeChanged() OVERRIDE; |
66 virtual void disabledAttributeChanged() OVERRIDE; | 66 virtual void disabledAttributeChanged() OVERRIDE; |
67 virtual void readonlyAttributeChanged() OVERRIDE; | 67 virtual void readonlyAttributeChanged() OVERRIDE; |
68 virtual bool supportsReadOnly() const OVERRIDE; | 68 virtual bool supportsReadOnly() const OVERRIDE; |
| 69 virtual void handleFocusEvent(Element* oldFocusedNode, FocusDirection) OVERR
IDE; |
69 virtual void handleBlurEvent() OVERRIDE; | 70 virtual void handleBlurEvent() OVERRIDE; |
70 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; | 71 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi
or) OVERRIDE; |
71 virtual void updateInnerTextValue() OVERRIDE; | 72 virtual void updateInnerTextValue() OVERRIDE; |
72 | 73 |
73 virtual String convertFromVisibleValue(const String&) const; | 74 virtual String convertFromVisibleValue(const String&) const; |
74 enum ValueChangeState { | 75 enum ValueChangeState { |
75 ValueChangeStateNone, | 76 ValueChangeStateNone, |
76 ValueChangeStateChanged | 77 ValueChangeStateChanged |
77 }; | 78 }; |
78 virtual void didSetValueByUserEdit(ValueChangeState); | 79 virtual void didSetValueByUserEdit(ValueChangeState); |
(...skipping 28 matching lines...) Expand all Loading... |
107 RefPtr<HTMLElement> m_placeholder; | 108 RefPtr<HTMLElement> m_placeholder; |
108 RefPtr<SpinButtonElement> m_innerSpinButton; | 109 RefPtr<SpinButtonElement> m_innerSpinButton; |
109 #if ENABLE(INPUT_SPEECH) | 110 #if ENABLE(INPUT_SPEECH) |
110 RefPtr<HTMLElement> m_speechButton; | 111 RefPtr<HTMLElement> m_speechButton; |
111 #endif | 112 #endif |
112 }; | 113 }; |
113 | 114 |
114 } // namespace WebCore | 115 } // namespace WebCore |
115 | 116 |
116 #endif // TextFieldInputType_h | 117 #endif // TextFieldInputType_h |
OLD | NEW |