| 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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 HTMLDataListElement* dataList() const; | 247 HTMLDataListElement* dataList() const; |
| 248 void listAttributeTargetChanged(); | 248 void listAttributeTargetChanged(); |
| 249 #endif | 249 #endif |
| 250 | 250 |
| 251 HTMLInputElement* checkedRadioButtonForGroup() const; | 251 HTMLInputElement* checkedRadioButtonForGroup() const; |
| 252 bool isInRequiredRadioButtonGroup(); | 252 bool isInRequiredRadioButtonGroup(); |
| 253 | 253 |
| 254 // Functions for InputType classes. | 254 // Functions for InputType classes. |
| 255 void setValueInternal(const String&, TextFieldEventBehavior); | 255 void setValueInternal(const String&, TextFieldEventBehavior); |
| 256 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; | 256 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; |
| 257 bool isTextFormControlMouseFocusable() const; | |
| 258 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } | 257 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } |
| 259 | 258 |
| 260 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } | 259 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } |
| 261 | 260 |
| 262 #if ENABLE(INPUT_TYPE_COLOR) | 261 #if ENABLE(INPUT_TYPE_COLOR) |
| 263 // For test purposes. | 262 // For test purposes. |
| 264 void selectColorInColorChooser(const Color&); | 263 void selectColorInColorChooser(const Color&); |
| 265 #endif | 264 #endif |
| 266 | 265 |
| 267 String defaultToolTip() const; | 266 String defaultToolTip() const; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; | 312 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; |
| 314 | 313 |
| 315 virtual void willChangeForm() OVERRIDE; | 314 virtual void willChangeForm() OVERRIDE; |
| 316 virtual void didChangeForm() OVERRIDE; | 315 virtual void didChangeForm() OVERRIDE; |
| 317 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 316 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 318 virtual void removedFrom(ContainerNode*) OVERRIDE; | 317 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 319 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 318 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
| 320 | 319 |
| 321 virtual bool hasCustomFocusLogic() const OVERRIDE; | 320 virtual bool hasCustomFocusLogic() const OVERRIDE; |
| 322 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 321 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
| 323 virtual bool isMouseFocusable() const; | |
| 324 virtual bool isEnumeratable() const; | 322 virtual bool isEnumeratable() const; |
| 325 virtual bool supportLabels() const OVERRIDE; | 323 virtual bool supportLabels() const OVERRIDE; |
| 326 virtual void updateFocusAppearance(bool restorePreviousSelection); | 324 virtual void updateFocusAppearance(bool restorePreviousSelection); |
| 327 virtual bool shouldUseInputMethod(); | 325 virtual bool shouldUseInputMethod(); |
| 328 | 326 |
| 329 virtual bool isTextFormControl() const { return isTextField(); } | 327 virtual bool isTextFormControl() const { return isTextField(); } |
| 330 | 328 |
| 331 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } | 329 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } |
| 332 | 330 |
| 333 virtual const AtomicString& formControlType() const; | 331 virtual const AtomicString& formControlType() const; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 // that it lives as long as its owning element lives. If we move the loader
into | 431 // that it lives as long as its owning element lives. If we move the loader
into |
| 434 // the ImageInput object we may delete the loader while this element lives o
n. | 432 // the ImageInput object we may delete the loader while this element lives o
n. |
| 435 OwnPtr<HTMLImageLoader> m_imageLoader; | 433 OwnPtr<HTMLImageLoader> m_imageLoader; |
| 436 #if ENABLE(DATALIST_ELEMENT) | 434 #if ENABLE(DATALIST_ELEMENT) |
| 437 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; | 435 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; |
| 438 #endif | 436 #endif |
| 439 }; | 437 }; |
| 440 | 438 |
| 441 } //namespace | 439 } //namespace |
| 442 #endif | 440 #endif |
| OLD | NEW |