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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual void readonlyAttributeChanged(); | 64 virtual void readonlyAttributeChanged(); |
65 | 65 |
66 private: | 66 private: |
67 virtual bool isTextField() const; | 67 virtual bool isTextField() const; |
68 virtual bool valueMissing(const String&) const; | 68 virtual bool valueMissing(const String&) const; |
69 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); | 69 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); |
70 virtual void forwardEvent(Event*); | 70 virtual void forwardEvent(Event*); |
71 virtual bool shouldSubmitImplicitly(Event*); | 71 virtual bool shouldSubmitImplicitly(Event*); |
72 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const; | 72 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) const; |
73 virtual bool shouldUseInputMethod() const; | 73 virtual bool shouldUseInputMethod() const; |
74 virtual String sanitizeValue(const String&); | 74 virtual String sanitizeValue(const String&) const; |
75 virtual bool shouldRespectListAttribute(); | 75 virtual bool shouldRespectListAttribute(); |
76 virtual HTMLElement* placeholderElement() const; | 76 virtual HTMLElement* placeholderElement() const; |
77 virtual void updatePlaceholderText(); | 77 virtual void updatePlaceholderText(); |
78 | 78 |
79 RefPtr<HTMLElement> m_container; | 79 RefPtr<HTMLElement> m_container; |
80 RefPtr<HTMLElement> m_innerBlock; | 80 RefPtr<HTMLElement> m_innerBlock; |
81 RefPtr<HTMLElement> m_innerText; | 81 RefPtr<HTMLElement> m_innerText; |
82 RefPtr<HTMLElement> m_placeholder; | 82 RefPtr<HTMLElement> m_placeholder; |
83 RefPtr<SpinButtonElement> m_innerSpinButton; | 83 RefPtr<SpinButtonElement> m_innerSpinButton; |
84 #if ENABLE(INPUT_SPEECH) | 84 #if ENABLE(INPUT_SPEECH) |
85 RefPtr<HTMLElement> m_speechButton; | 85 RefPtr<HTMLElement> m_speechButton; |
86 #endif | 86 #endif |
87 }; | 87 }; |
88 | 88 |
89 } // namespace WebCore | 89 } // namespace WebCore |
90 | 90 |
91 #endif // TextFieldInputType_h | 91 #endif // TextFieldInputType_h |
OLD | NEW |