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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 virtual String convertFromVisibleValue(const String&) const; | 73 virtual String convertFromVisibleValue(const String&) const; |
74 enum ValueChangeState { | 74 enum ValueChangeState { |
75 ValueChangeStateNone, | 75 ValueChangeStateNone, |
76 ValueChangeStateChanged | 76 ValueChangeStateChanged |
77 }; | 77 }; |
78 virtual void didSetValueByUserEdit(ValueChangeState); | 78 virtual void didSetValueByUserEdit(ValueChangeState); |
79 | 79 |
80 private: | 80 private: |
81 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; | 81 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; |
82 virtual bool isMouseFocusable() const OVERRIDE; | 82 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
83 virtual bool isTextField() const OVERRIDE; | 83 virtual bool isTextField() const OVERRIDE; |
84 virtual bool valueMissing(const String&) const OVERRIDE; | 84 virtual bool valueMissing(const String&) const OVERRIDE; |
85 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; | 85 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; |
86 virtual void forwardEvent(Event*) OVERRIDE; | 86 virtual void forwardEvent(Event*) OVERRIDE; |
87 virtual bool shouldSubmitImplicitly(Event*) OVERRIDE; | 87 virtual bool shouldSubmitImplicitly(Event*) OVERRIDE; |
88 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; | 88 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; |
89 virtual bool shouldUseInputMethod() const OVERRIDE; | 89 virtual bool shouldUseInputMethod() const OVERRIDE; |
90 virtual String sanitizeValue(const String&) const OVERRIDE; | 90 virtual String sanitizeValue(const String&) const OVERRIDE; |
91 virtual bool shouldRespectListAttribute() OVERRIDE; | 91 virtual bool shouldRespectListAttribute() OVERRIDE; |
92 virtual HTMLElement* placeholderElement() const OVERRIDE; | 92 virtual HTMLElement* placeholderElement() const OVERRIDE; |
(...skipping 14 matching lines...) Expand all Loading... |
107 RefPtr<HTMLElement> m_placeholder; | 107 RefPtr<HTMLElement> m_placeholder; |
108 RefPtr<SpinButtonElement> m_innerSpinButton; | 108 RefPtr<SpinButtonElement> m_innerSpinButton; |
109 #if ENABLE(INPUT_SPEECH) | 109 #if ENABLE(INPUT_SPEECH) |
110 RefPtr<HTMLElement> m_speechButton; | 110 RefPtr<HTMLElement> m_speechButton; |
111 #endif | 111 #endif |
112 }; | 112 }; |
113 | 113 |
114 } // namespace WebCore | 114 } // namespace WebCore |
115 | 115 |
116 #endif // TextFieldInputType_h | 116 #endif // TextFieldInputType_h |
OLD | NEW |