OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are | 7 * modification, are permitted provided that the following conditions are |
8 * met: | 8 * met: |
9 * | 9 * |
10 * * Redistributions of source code must retain the above copyright | 10 * * Redistributions of source code must retain the above copyright |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 virtual void handleKeypressEvent(KeyboardEvent*); | 188 virtual void handleKeypressEvent(KeyboardEvent*); |
189 virtual void handleKeyupEvent(KeyboardEvent*); | 189 virtual void handleKeyupEvent(KeyboardEvent*); |
190 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); | 190 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); |
191 virtual void handleTouchEvent(TouchEvent*); | 191 virtual void handleTouchEvent(TouchEvent*); |
192 virtual void forwardEvent(Event*); | 192 virtual void forwardEvent(Event*); |
193 // Helpers for event handlers. | 193 // Helpers for event handlers. |
194 virtual bool shouldSubmitImplicitly(Event*); | 194 virtual bool shouldSubmitImplicitly(Event*); |
195 virtual PassRefPtr<HTMLFormElement> formForSubmission() const; | 195 virtual PassRefPtr<HTMLFormElement> formForSubmission() const; |
196 virtual bool hasCustomFocusLogic() const; | 196 virtual bool hasCustomFocusLogic() const; |
197 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 197 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
198 virtual bool isMouseFocusable() const; | 198 virtual bool shouldShowFocusRingOnMouseFocus() const; |
199 virtual bool shouldUseInputMethod() const; | 199 virtual bool shouldUseInputMethod() const; |
200 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection); | 200 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection); |
201 virtual void handleBlurEvent(); | 201 virtual void handleBlurEvent(); |
202 virtual void accessKeyAction(bool sendMouseEvents); | 202 virtual void accessKeyAction(bool sendMouseEvents); |
203 virtual bool canBeSuccessfulSubmitButton(); | 203 virtual bool canBeSuccessfulSubmitButton(); |
204 virtual void subtreeHasChanged(); | 204 virtual void subtreeHasChanged(); |
205 virtual bool hasTouchEventHandler() const; | 205 virtual bool hasTouchEventHandler() const; |
206 | 206 |
207 virtual void blur(); | 207 virtual void blur(); |
208 | 208 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 private: | 309 private: |
310 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 310 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
311 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); | 311 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); |
312 | 312 |
313 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. | 313 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. |
314 HTMLInputElement* m_element; | 314 HTMLInputElement* m_element; |
315 }; | 315 }; |
316 | 316 |
317 } // namespace WebCore | 317 } // namespace WebCore |
318 #endif | 318 #endif |
OLD | NEW |