OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. |
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 HTMLElement* list() const; | 243 HTMLElement* list() const; |
244 HTMLDataListElement* dataList() const; | 244 HTMLDataListElement* dataList() const; |
245 void listAttributeTargetChanged(); | 245 void listAttributeTargetChanged(); |
246 | 246 |
247 HTMLInputElement* checkedRadioButtonForGroup() const; | 247 HTMLInputElement* checkedRadioButtonForGroup() const; |
248 bool isInRequiredRadioButtonGroup(); | 248 bool isInRequiredRadioButtonGroup(); |
249 | 249 |
250 // Functions for InputType classes. | 250 // Functions for InputType classes. |
251 void setValueInternal(const String&, TextFieldEventBehavior); | 251 void setValueInternal(const String&, TextFieldEventBehavior); |
252 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; | 252 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; |
253 bool isTextFormControlMouseFocusable() const; | |
254 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } | 253 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } |
255 | 254 |
256 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } | 255 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } |
257 | 256 |
258 // For test purposes. | 257 // For test purposes. |
259 void selectColorInColorChooser(const Color&); | 258 void selectColorInColorChooser(const Color&); |
260 | 259 |
261 String defaultToolTip() const; | 260 String defaultToolTip() const; |
262 | 261 |
263 #if ENABLE(MEDIA_CAPTURE) | 262 #if ENABLE(MEDIA_CAPTURE) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; | 306 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; |
308 | 307 |
309 virtual void willChangeForm() OVERRIDE; | 308 virtual void willChangeForm() OVERRIDE; |
310 virtual void didChangeForm() OVERRIDE; | 309 virtual void didChangeForm() OVERRIDE; |
311 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 310 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
312 virtual void removedFrom(ContainerNode*) OVERRIDE; | 311 virtual void removedFrom(ContainerNode*) OVERRIDE; |
313 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 312 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
314 | 313 |
315 virtual bool hasCustomFocusLogic() const OVERRIDE; | 314 virtual bool hasCustomFocusLogic() const OVERRIDE; |
316 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 315 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
317 virtual bool isMouseFocusable() const; | 316 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
318 virtual bool isEnumeratable() const; | 317 virtual bool isEnumeratable() const; |
319 virtual bool supportLabels() const OVERRIDE; | 318 virtual bool supportLabels() const OVERRIDE; |
320 virtual void updateFocusAppearance(bool restorePreviousSelection); | 319 virtual void updateFocusAppearance(bool restorePreviousSelection); |
321 virtual bool shouldUseInputMethod(); | 320 virtual bool shouldUseInputMethod(); |
322 | 321 |
323 virtual bool isTextFormControl() const { return isTextField(); } | 322 virtual bool isTextFormControl() const { return isTextField(); } |
324 | 323 |
325 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } | 324 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } |
326 | 325 |
327 virtual const AtomicString& formControlType() const; | 326 virtual const AtomicString& formControlType() const; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); | 430 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); |
432 return static_cast<const HTMLInputElement*>(node); | 431 return static_cast<const HTMLInputElement*>(node); |
433 } | 432 } |
434 | 433 |
435 // This will catch anyone doing an unnecessary cast. | 434 // This will catch anyone doing an unnecessary cast. |
436 void toHTMLElement(const HTMLElement*); | 435 void toHTMLElement(const HTMLElement*); |
437 | 436 |
438 | 437 |
439 } //namespace | 438 } //namespace |
440 #endif | 439 #endif |
OLD | NEW |