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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 virtual void handleKeypressEvent(KeyboardEvent*); | 192 virtual void handleKeypressEvent(KeyboardEvent*); |
193 virtual void handleKeyupEvent(KeyboardEvent*); | 193 virtual void handleKeyupEvent(KeyboardEvent*); |
194 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); | 194 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); |
195 virtual void handleTouchEvent(TouchEvent*); | 195 virtual void handleTouchEvent(TouchEvent*); |
196 virtual void forwardEvent(Event*); | 196 virtual void forwardEvent(Event*); |
197 // Helpers for event handlers. | 197 // Helpers for event handlers. |
198 virtual bool shouldSubmitImplicitly(Event*); | 198 virtual bool shouldSubmitImplicitly(Event*); |
199 virtual PassRefPtr<HTMLFormElement> formForSubmission() const; | 199 virtual PassRefPtr<HTMLFormElement> formForSubmission() const; |
200 virtual bool hasCustomFocusLogic() const; | 200 virtual bool hasCustomFocusLogic() const; |
201 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 201 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
202 virtual bool isMouseFocusable() const; | 202 virtual bool shouldShowFocusRingOnMouseFocus() const; |
203 virtual bool shouldUseInputMethod() const; | 203 virtual bool shouldUseInputMethod() const; |
204 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection); | 204 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection); |
205 virtual void handleBlurEvent(); | 205 virtual void handleBlurEvent(); |
206 virtual void accessKeyAction(bool sendMouseEvents); | 206 virtual void accessKeyAction(bool sendMouseEvents); |
207 virtual bool canBeSuccessfulSubmitButton(); | 207 virtual bool canBeSuccessfulSubmitButton(); |
208 virtual void subtreeHasChanged(); | 208 virtual void subtreeHasChanged(); |
209 virtual bool hasTouchEventHandler() const; | 209 virtual bool hasTouchEventHandler() const; |
210 | 210 |
211 virtual void blur(); | 211 virtual void blur(); |
212 | 212 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 private: | 312 private: |
313 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. | 313 // Helper for stepUp()/stepDown(). Adds step value * count to the current va
lue. |
314 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); | 314 void applyStep(int count, AnyStepHandling, TextFieldEventBehavior, Exception
Code&); |
315 | 315 |
316 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. | 316 // Raw pointer because the HTMLInputElement object owns this InputType objec
t. |
317 HTMLInputElement* m_element; | 317 HTMLInputElement* m_element; |
318 }; | 318 }; |
319 | 319 |
320 } // namespace WebCore | 320 } // namespace WebCore |
321 #endif | 321 #endif |
OLD | NEW |