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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 HTMLElement* list() const; | 248 HTMLElement* list() const; |
249 HTMLDataListElement* dataList() const; | 249 HTMLDataListElement* dataList() const; |
250 void listAttributeTargetChanged(); | 250 void listAttributeTargetChanged(); |
251 | 251 |
252 HTMLInputElement* checkedRadioButtonForGroup() const; | 252 HTMLInputElement* checkedRadioButtonForGroup() const; |
253 bool isInRequiredRadioButtonGroup(); | 253 bool isInRequiredRadioButtonGroup(); |
254 | 254 |
255 // Functions for InputType classes. | 255 // Functions for InputType classes. |
256 void setValueInternal(const String&, TextFieldEventBehavior); | 256 void setValueInternal(const String&, TextFieldEventBehavior); |
257 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; | 257 bool isTextFormControlKeyboardFocusable(KeyboardEvent*) const; |
258 bool isTextFormControlMouseFocusable() const; | |
259 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } | 258 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW
asUpdatedAfterParsing; } |
260 | 259 |
261 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } | 260 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca
retOffset, caretOffset, SelectionHasNoDirection); } |
262 | 261 |
263 #if ENABLE(INPUT_TYPE_COLOR) | 262 #if ENABLE(INPUT_TYPE_COLOR) |
264 // For test purposes. | 263 // For test purposes. |
265 void selectColorInColorChooser(const Color&); | 264 void selectColorInColorChooser(const Color&); |
266 #endif | 265 #endif |
267 | 266 |
268 String defaultToolTip() const; | 267 String defaultToolTip() const; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; | 313 virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE; |
315 | 314 |
316 virtual void willChangeForm() OVERRIDE; | 315 virtual void willChangeForm() OVERRIDE; |
317 virtual void didChangeForm() OVERRIDE; | 316 virtual void didChangeForm() OVERRIDE; |
318 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 317 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
319 virtual void removedFrom(ContainerNode*) OVERRIDE; | 318 virtual void removedFrom(ContainerNode*) OVERRIDE; |
320 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; | 319 virtual void didMoveToNewDocument(Document* oldDocument) OVERRIDE; |
321 | 320 |
322 virtual bool hasCustomFocusLogic() const OVERRIDE; | 321 virtual bool hasCustomFocusLogic() const OVERRIDE; |
323 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 322 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
324 virtual bool isMouseFocusable() const; | 323 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; |
325 virtual bool isEnumeratable() const; | 324 virtual bool isEnumeratable() const; |
326 virtual bool supportLabels() const OVERRIDE; | 325 virtual bool supportLabels() const OVERRIDE; |
327 virtual void updateFocusAppearance(bool restorePreviousSelection); | 326 virtual void updateFocusAppearance(bool restorePreviousSelection); |
328 virtual bool shouldUseInputMethod(); | 327 virtual bool shouldUseInputMethod(); |
329 | 328 |
330 virtual bool isTextFormControl() const { return isTextField(); } | 329 virtual bool isTextFormControl() const { return isTextField(); } |
331 | 330 |
332 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } | 331 virtual bool canTriggerImplicitSubmission() const { return isTextField(); } |
333 | 332 |
334 virtual const AtomicString& formControlType() const; | 333 virtual const AtomicString& formControlType() const; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 OwnPtr<InputType> m_inputType; | 421 OwnPtr<InputType> m_inputType; |
423 // The ImageLoader must be owned by this element because the loader code ass
umes | 422 // The ImageLoader must be owned by this element because the loader code ass
umes |
424 // that it lives as long as its owning element lives. If we move the loader
into | 423 // that it lives as long as its owning element lives. If we move the loader
into |
425 // the ImageInput object we may delete the loader while this element lives o
n. | 424 // the ImageInput object we may delete the loader while this element lives o
n. |
426 OwnPtr<HTMLImageLoader> m_imageLoader; | 425 OwnPtr<HTMLImageLoader> m_imageLoader; |
427 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; | 426 OwnPtr<ListAttributeTargetObserver> m_listAttributeTargetObserver; |
428 }; | 427 }; |
429 | 428 |
430 } //namespace | 429 } //namespace |
431 #endif | 430 #endif |
OLD | NEW |