| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 virtual void didSetValueByUserEdit(ValueChangeState); | 79 virtual void didSetValueByUserEdit(ValueChangeState); |
| 80 | 80 |
| 81 private: | 81 private: |
| 82 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; | 82 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; |
| 83 virtual bool isMouseFocusable() const OVERRIDE; | 83 virtual bool isMouseFocusable() const OVERRIDE; |
| 84 virtual bool isTextField() const OVERRIDE; | 84 virtual bool isTextField() const OVERRIDE; |
| 85 virtual bool valueMissing(const String&) const OVERRIDE; | 85 virtual bool valueMissing(const String&) const OVERRIDE; |
| 86 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; | 86 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; |
| 87 virtual void forwardEvent(Event*) OVERRIDE; | 87 virtual void forwardEvent(Event*) OVERRIDE; |
| 88 virtual bool shouldSubmitImplicitly(Event*) OVERRIDE; | 88 virtual bool shouldSubmitImplicitly(Event*) OVERRIDE; |
| 89 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const OVERR
IDE; | 89 virtual RenderObject* createRenderer(RenderStyle*) const OVERRIDE; |
| 90 virtual bool shouldUseInputMethod() const OVERRIDE; | 90 virtual bool shouldUseInputMethod() const OVERRIDE; |
| 91 virtual String sanitizeValue(const String&) const OVERRIDE; | 91 virtual String sanitizeValue(const String&) const OVERRIDE; |
| 92 virtual bool shouldRespectListAttribute() OVERRIDE; | 92 virtual bool shouldRespectListAttribute() OVERRIDE; |
| 93 virtual HTMLElement* placeholderElement() const OVERRIDE; | 93 virtual HTMLElement* placeholderElement() const OVERRIDE; |
| 94 virtual void updatePlaceholderText() OVERRIDE; | 94 virtual void updatePlaceholderText() OVERRIDE; |
| 95 virtual bool appendFormData(FormDataList&, bool multipart) const OVERRIDE; | 95 virtual bool appendFormData(FormDataList&, bool multipart) const OVERRIDE; |
| 96 virtual void subtreeHasChanged() OVERRIDE; | 96 virtual void subtreeHasChanged() OVERRIDE; |
| 97 | 97 |
| 98 // SpinButtonElement::SpinButtonOwner functions. | 98 // SpinButtonElement::SpinButtonOwner functions. |
| 99 virtual void focusAndSelectSpinButtonOwner() OVERRIDE; | 99 virtual void focusAndSelectSpinButtonOwner() OVERRIDE; |
| 100 virtual bool shouldSpinButtonRespondToMouseEvents() OVERRIDE; | 100 virtual bool shouldSpinButtonRespondToMouseEvents() OVERRIDE; |
| 101 virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE; | 101 virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE; |
| 102 virtual void spinButtonStepDown() OVERRIDE; | 102 virtual void spinButtonStepDown() OVERRIDE; |
| 103 virtual void spinButtonStepUp() OVERRIDE; | 103 virtual void spinButtonStepUp() OVERRIDE; |
| 104 | 104 |
| 105 RefPtr<HTMLElement> m_container; | 105 RefPtr<HTMLElement> m_container; |
| 106 RefPtr<HTMLElement> m_innerBlock; | 106 RefPtr<HTMLElement> m_innerBlock; |
| 107 RefPtr<HTMLElement> m_innerText; | 107 RefPtr<HTMLElement> m_innerText; |
| 108 RefPtr<HTMLElement> m_placeholder; | 108 RefPtr<HTMLElement> m_placeholder; |
| 109 RefPtr<SpinButtonElement> m_innerSpinButton; | 109 RefPtr<SpinButtonElement> m_innerSpinButton; |
| 110 #if ENABLE(INPUT_SPEECH) | 110 #if ENABLE(INPUT_SPEECH) |
| 111 RefPtr<HTMLElement> m_speechButton; | 111 RefPtr<HTMLElement> m_speechButton; |
| 112 #endif | 112 #endif |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace WebCore | 115 } // namespace WebCore |
| 116 | 116 |
| 117 #endif // TextFieldInputType_h | 117 #endif // TextFieldInputType_h |
| OLD | NEW |