| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 virtual HTMLElement* speechButtonElement() const OVERRIDE; | 57 virtual HTMLElement* speechButtonElement() const OVERRIDE; |
| 58 #endif | 58 #endif |
| 59 | 59 |
| 60 protected: | 60 protected: |
| 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 disabledAttributeChanged() OVERRIDE; | 65 virtual void disabledAttributeChanged() OVERRIDE; |
| 66 virtual void readonlyAttributeChanged() OVERRIDE; | 66 virtual void readonlyAttributeChanged() OVERRIDE; |
| 67 virtual bool supportsReadOnly() const OVERRIDE; |
| 67 virtual void handleBlurEvent() OVERRIDE; | 68 virtual void handleBlurEvent() OVERRIDE; |
| 68 virtual void updateInnerTextValue() OVERRIDE; | 69 virtual void updateInnerTextValue() OVERRIDE; |
| 69 | 70 |
| 70 private: | 71 private: |
| 71 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; | 72 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE; |
| 72 virtual bool isMouseFocusable() const OVERRIDE; | 73 virtual bool isMouseFocusable() const OVERRIDE; |
| 73 virtual bool isTextField() const OVERRIDE; | 74 virtual bool isTextField() const OVERRIDE; |
| 74 virtual bool valueMissing(const String&) const OVERRIDE; | 75 virtual bool valueMissing(const String&) const OVERRIDE; |
| 75 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; | 76 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) OVERRID
E; |
| 76 virtual void forwardEvent(Event*) OVERRIDE; | 77 virtual void forwardEvent(Event*) OVERRIDE; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 98 RefPtr<HTMLElement> m_placeholder; | 99 RefPtr<HTMLElement> m_placeholder; |
| 99 RefPtr<SpinButtonElement> m_innerSpinButton; | 100 RefPtr<SpinButtonElement> m_innerSpinButton; |
| 100 #if ENABLE(INPUT_SPEECH) | 101 #if ENABLE(INPUT_SPEECH) |
| 101 RefPtr<HTMLElement> m_speechButton; | 102 RefPtr<HTMLElement> m_speechButton; |
| 102 #endif | 103 #endif |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace WebCore | 106 } // namespace WebCore |
| 106 | 107 |
| 107 #endif // TextFieldInputType_h | 108 #endif // TextFieldInputType_h |
| OLD | NEW |