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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 int selectionStartForBinding(ExceptionState&) const; | 140 int selectionStartForBinding(ExceptionState&) const; |
141 int selectionEndForBinding(ExceptionState&) const; | 141 int selectionEndForBinding(ExceptionState&) const; |
142 String selectionDirectionForBinding(ExceptionState&) const; | 142 String selectionDirectionForBinding(ExceptionState&) const; |
143 void setSelectionStartForBinding(int, ExceptionState&); | 143 void setSelectionStartForBinding(int, ExceptionState&); |
144 void setSelectionEndForBinding(int, ExceptionState&); | 144 void setSelectionEndForBinding(int, ExceptionState&); |
145 void setSelectionDirectionForBinding(const String&, ExceptionState&); | 145 void setSelectionDirectionForBinding(const String&, ExceptionState&); |
146 void setSelectionRangeForBinding(int start, int end, ExceptionState&); | 146 void setSelectionRangeForBinding(int start, int end, ExceptionState&); |
147 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionState&); | 147 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionState&); |
148 | 148 |
149 virtual bool layoutObjectIsNeeded(const LayoutStyle&) override final; | 149 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override final; |
150 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; | 150 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
151 virtual void detach(const AttachContext& = AttachContext()) override final; | 151 virtual void detach(const AttachContext& = AttachContext()) override final; |
152 virtual void updateFocusAppearance(bool restorePreviousSelection) override f
inal; | 152 virtual void updateFocusAppearance(bool restorePreviousSelection) override f
inal; |
153 | 153 |
154 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
I-idiom here by making | 154 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
I-idiom here by making |
155 // it private virtual in all classes and expose a public method in HTMLFormC
ontrolElement to call | 155 // it private virtual in all classes and expose a public method in HTMLFormC
ontrolElement to call |
156 // the private virtual method. | 156 // the private virtual method. |
157 virtual bool isActivatedSubmit() const override final; | 157 virtual bool isActivatedSubmit() const override final; |
158 virtual void setActivatedSubmit(bool flag) override final; | 158 virtual void setActivatedSubmit(bool flag) override final; |
159 | 159 |
160 virtual String altText() const override final; | 160 virtual String altText() const override final; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 void setListAttributeTargetObserver(PassOwnPtrWillBeRawPtr<ListAttributeTarg
etObserver>); | 352 void setListAttributeTargetObserver(PassOwnPtrWillBeRawPtr<ListAttributeTarg
etObserver>); |
353 void resetListAttributeTargetObserver(); | 353 void resetListAttributeTargetObserver(); |
354 void parseMaxLengthAttribute(const AtomicString&); | 354 void parseMaxLengthAttribute(const AtomicString&); |
355 void parseMinLengthAttribute(const AtomicString&); | 355 void parseMinLengthAttribute(const AtomicString&); |
356 void updateValueIfNeeded(); | 356 void updateValueIfNeeded(); |
357 | 357 |
358 // Returns null if this isn't associated with any radio button group. | 358 // Returns null if this isn't associated with any radio button group. |
359 RadioButtonGroupScope* radioButtonGroupScope() const; | 359 RadioButtonGroupScope* radioButtonGroupScope() const; |
360 void addToRadioButtonGroup(); | 360 void addToRadioButtonGroup(); |
361 void removeFromRadioButtonGroup(); | 361 void removeFromRadioButtonGroup(); |
362 virtual PassRefPtr<LayoutStyle> customStyleForLayoutObject() override; | 362 virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject() override; |
363 | 363 |
364 virtual bool shouldDispatchFormControlChangeEvent(String&, String&) override
; | 364 virtual bool shouldDispatchFormControlChangeEvent(String&, String&) override
; |
365 | 365 |
366 AtomicString m_name; | 366 AtomicString m_name; |
367 String m_valueIfDirty; | 367 String m_valueIfDirty; |
368 String m_suggestedValue; | 368 String m_suggestedValue; |
369 int m_size; | 369 int m_size; |
370 int m_maxLength; | 370 int m_maxLength; |
371 int m_minLength; | 371 int m_minLength; |
372 short m_maxResults; | 372 short m_maxResults; |
(...skipping 15 matching lines...) Expand all Loading... |
388 // The ImageLoader must be owned by this element because the loader code ass
umes | 388 // The ImageLoader must be owned by this element because the loader code ass
umes |
389 // that it lives as long as its owning element lives. If we move the loader
into | 389 // that it lives as long as its owning element lives. If we move the loader
into |
390 // the ImageInput object we may delete the loader while this element lives o
n. | 390 // the ImageInput object we may delete the loader while this element lives o
n. |
391 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 391 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
392 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 392 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; |
393 }; | 393 }; |
394 | 394 |
395 } // namespace blink | 395 } // namespace blink |
396 | 396 |
397 #endif // HTMLInputElement_h | 397 #endif // HTMLInputElement_h |
OLD | NEW |