| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 bool supportsInputModeAttribute() const; | 267 bool supportsInputModeAttribute() const; |
| 268 | 268 |
| 269 void setShouldRevealPassword(bool value); | 269 void setShouldRevealPassword(bool value); |
| 270 bool shouldRevealPassword() const { return m_shouldRevealPassword; } | 270 bool shouldRevealPassword() const { return m_shouldRevealPassword; } |
| 271 | 271 |
| 272 protected: | 272 protected: |
| 273 HTMLInputElement(Document&, HTMLFormElement*, bool createdByParser); | 273 HTMLInputElement(Document&, HTMLFormElement*, bool createdByParser); |
| 274 | 274 |
| 275 virtual void defaultEventHandler(Event*) OVERRIDE; | 275 virtual void defaultEventHandler(Event*) OVERRIDE; |
| 276 virtual void* preDispatchEventHandler(Event*) OVERRIDE; |
| 276 | 277 |
| 277 private: | 278 private: |
| 278 enum AutoCompleteSetting { Uninitialized, On, Off }; | 279 enum AutoCompleteSetting { Uninitialized, On, Off }; |
| 279 | 280 |
| 280 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE FINAL; | 281 virtual void didAddUserAgentShadowRoot(ShadowRoot&) OVERRIDE FINAL; |
| 281 virtual void willAddFirstAuthorShadowRoot() OVERRIDE FINAL; | 282 virtual void willAddFirstAuthorShadowRoot() OVERRIDE FINAL; |
| 282 | 283 |
| 283 virtual void willChangeForm() OVERRIDE FINAL; | 284 virtual void willChangeForm() OVERRIDE FINAL; |
| 284 virtual void didChangeForm() OVERRIDE FINAL; | 285 virtual void didChangeForm() OVERRIDE FINAL; |
| 285 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 286 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE FINAL; | 321 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE FINAL; |
| 321 | 322 |
| 322 virtual bool appendFormData(FormDataList&, bool) OVERRIDE FINAL; | 323 virtual bool appendFormData(FormDataList&, bool) OVERRIDE FINAL; |
| 323 virtual String resultForDialogSubmit() OVERRIDE FINAL; | 324 virtual String resultForDialogSubmit() OVERRIDE FINAL; |
| 324 | 325 |
| 325 virtual bool canBeSuccessfulSubmitButton() const OVERRIDE FINAL; | 326 virtual bool canBeSuccessfulSubmitButton() const OVERRIDE FINAL; |
| 326 | 327 |
| 327 virtual void resetImpl() OVERRIDE FINAL; | 328 virtual void resetImpl() OVERRIDE FINAL; |
| 328 virtual bool supportsAutofocus() const OVERRIDE FINAL; | 329 virtual bool supportsAutofocus() const OVERRIDE FINAL; |
| 329 | 330 |
| 330 virtual void* preDispatchEventHandler(Event*) OVERRIDE FINAL; | |
| 331 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch) OVE
RRIDE FINAL; | 331 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch) OVE
RRIDE FINAL; |
| 332 | 332 |
| 333 virtual bool isURLAttribute(const Attribute&) const OVERRIDE FINAL; | 333 virtual bool isURLAttribute(const Attribute&) const OVERRIDE FINAL; |
| 334 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE FINA
L; | 334 virtual bool hasLegalLinkAttribute(const QualifiedName&) const OVERRIDE FINA
L; |
| 335 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE FINAL
; | 335 virtual const QualifiedName& subResourceAttributeName() const OVERRIDE FINAL
; |
| 336 virtual bool isInRange() const OVERRIDE FINAL; | 336 virtual bool isInRange() const OVERRIDE FINAL; |
| 337 virtual bool isOutOfRange() const OVERRIDE FINAL; | 337 virtual bool isOutOfRange() const OVERRIDE FINAL; |
| 338 | 338 |
| 339 bool isTextType() const; | 339 bool isTextType() const; |
| 340 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; | 340 bool tooLong(const String&, NeedsToCheckDirtyFlag) const; |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 RefPtrWillBeMember<InputTypeView> m_inputTypeView; | 393 RefPtrWillBeMember<InputTypeView> m_inputTypeView; |
| 394 // The ImageLoader must be owned by this element because the loader code ass
umes | 394 // The ImageLoader must be owned by this element because the loader code ass
umes |
| 395 // that it lives as long as its owning element lives. If we move the loader
into | 395 // that it lives as long as its owning element lives. If we move the loader
into |
| 396 // the ImageInput object we may delete the loader while this element lives o
n. | 396 // the ImageInput object we may delete the loader while this element lives o
n. |
| 397 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; | 397 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; |
| 398 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; | 398 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve
r; |
| 399 }; | 399 }; |
| 400 | 400 |
| 401 } //namespace | 401 } //namespace |
| 402 #endif | 402 #endif |
| OLD | NEW |