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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 HTMLElement* list() const; | 245 HTMLElement* list() const; |
246 HTMLDataListElement* dataList() const; | 246 HTMLDataListElement* dataList() const; |
247 void listAttributeTargetChanged(); | 247 void listAttributeTargetChanged(); |
248 | 248 |
249 HTMLInputElement* checkedRadioButtonForGroup() const; | 249 HTMLInputElement* checkedRadioButtonForGroup() const; |
250 bool isInRequiredRadioButtonGroup(); | 250 bool isInRequiredRadioButtonGroup(); |
251 | 251 |
252 // Functions for InputType classes. | 252 // Functions for InputType classes. |
253 void setValueInternal(const String&, TextFieldEventBehavior); | 253 void setValueInternal(const String&, TextFieldEventBehavior); |
254 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; | 254 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; |
255 bool isTextFormControlMouseFocusable() const; | |
256 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } | 255 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } |
257 | 256 |
258 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } | 257 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } |
259 | 258 |
260 // For test purposes. | 259 // For test purposes. |
261 void selectColorInColorChooser(const Color&); | 260 void selectColorInColorChooser(const Color&); |
262 | 261 |
263 String defaultToolTip() const; | 262 String defaultToolTip() const; |
264 | 263 |
265 #if ENABLE(MEDIA_CAPTURE) | 264 #if ENABLE(MEDIA_CAPTURE) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; | 308 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; |
310 | 309 |
311 virtual void willChangeForm() OVERRIDE; | 310 virtual void willChangeForm() OVERRIDE; |
312 virtual void didChangeForm() OVERRIDE; | 311 virtual void didChangeForm() OVERRIDE; |
313 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 312 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
314 virtual void removedFrom(ContainerNode*) OVERRIDE; | 313 virtual void removedFrom(ContainerNode*) OVERRIDE; |
315 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 314 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
316 | 315 |
317 virtual bool hasCustomFocusLogic() const OVERRIDE; | 316 virtual bool hasCustomFocusLogic() const OVERRIDE; |
318 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 317 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
319 virtual bool isMouseFocusable() const; | 318 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
320 virtual bool isEnumeratable() const; | 319 virtual bool isEnumeratable() const; |
321 virtual bool supportLabels() const OVERRIDE; | 320 virtual bool supportLabels() const OVERRIDE; |
322 virtual void updateFocusAppearance(bool restorePreviousSelection); | 321 virtual void updateFocusAppearance(bool restorePreviousSelection); |
323 virtual bool shouldUseInputMethod(); | 322 virtual bool shouldUseInputMethod(); |
324 | 323 |
325 virtual bool isTextFormControl() const { return isTextField(); } | 324 virtual bool isTextFormControl() const { return isTextField(); } |
326 | 325 |
327 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } | 326 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } |
328 | 327 |
329 virtual const AtomicString& formControlType() const; | 328 virtual const AtomicString& formControlType() const; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); | 432 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); |
434 return static_cast<const HTMLInputElement*>(node); | 433 return static_cast<const HTMLInputElement*>(node); |
435 } | 434 } |
436 | 435 |
437 // This will catch anyone doing an unnecessary cast. | 436 // This will catch anyone doing an unnecessary cast. |
438 void toHTMLElement(const HTMLElement*); | 437 void toHTMLElement(const HTMLElement*); |
439 | 438 |
440 | 439 |
441 } //namespace | 440 } //namespace |
442 #endif | 441 #endif |
OLD | NEW |