| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 173     int selectionEndForBinding(ExceptionState&) const; | 173     int selectionEndForBinding(ExceptionState&) const; | 
| 174     String selectionDirectionForBinding(ExceptionState&) const; | 174     String selectionDirectionForBinding(ExceptionState&) const; | 
| 175     void setSelectionStartForBinding(int, ExceptionState&); | 175     void setSelectionStartForBinding(int, ExceptionState&); | 
| 176     void setSelectionEndForBinding(int, ExceptionState&); | 176     void setSelectionEndForBinding(int, ExceptionState&); | 
| 177     void setSelectionDirectionForBinding(const String&, ExceptionState&); | 177     void setSelectionDirectionForBinding(const String&, ExceptionState&); | 
| 178     void setSelectionRangeForBinding(int start, int end, ExceptionState&); | 178     void setSelectionRangeForBinding(int start, int end, ExceptionState&); | 
| 179     void setSelectionRangeForBinding(int start, int end, const String& direction
     , ExceptionState&); | 179     void setSelectionRangeForBinding(int start, int end, const String& direction
     , ExceptionState&); | 
| 180 | 180 | 
| 181     virtual bool rendererIsNeeded(const RenderStyle&); | 181     virtual bool rendererIsNeeded(const RenderStyle&); | 
| 182     virtual RenderObject* createRenderer(RenderStyle*); | 182     virtual RenderObject* createRenderer(RenderStyle*); | 
| 183     virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 183     virtual void destroyRenderTree(const AttachContext& = AttachContext()) OVERR
     IDE; | 
| 184 | 184 | 
| 185     // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
     I-idiom here by making | 185     // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
     I-idiom here by making | 
| 186     // it private virtual in all classes and expose a public method in HTMLFormC
     ontrolElement to call | 186     // it private virtual in all classes and expose a public method in HTMLFormC
     ontrolElement to call | 
| 187     // the private virtual method. | 187     // the private virtual method. | 
| 188     virtual bool isActivatedSubmit() const; | 188     virtual bool isActivatedSubmit() const; | 
| 189     virtual void setActivatedSubmit(bool flag); | 189     virtual void setActivatedSubmit(bool flag); | 
| 190 | 190 | 
| 191     String altText() const; | 191     String altText() const; | 
| 192 | 192 | 
| 193     int maxResults() const { return m_maxResults; } | 193     int maxResults() const { return m_maxResults; } | 
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 323 | 323 | 
| 324     virtual void accessKeyAction(bool sendMouseEvents); | 324     virtual void accessKeyAction(bool sendMouseEvents); | 
| 325 | 325 | 
| 326     virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
     IDE; | 326     virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
     IDE; | 
| 327     virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 327     virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 
| 328     virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
     t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 328     virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
     t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 
| 329     virtual void finishParsingChildren(); | 329     virtual void finishParsingChildren(); | 
| 330 | 330 | 
| 331     virtual void copyNonAttributePropertiesFromElement(const Element&); | 331     virtual void copyNonAttributePropertiesFromElement(const Element&); | 
| 332 | 332 | 
| 333     virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; | 333     virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI
     DE; | 
| 334 | 334 | 
| 335     virtual bool appendFormData(FormDataList&, bool); | 335     virtual bool appendFormData(FormDataList&, bool); | 
| 336 | 336 | 
| 337     virtual bool isSuccessfulSubmitButton() const; | 337     virtual bool isSuccessfulSubmitButton() const; | 
| 338 | 338 | 
| 339     virtual void reset(); | 339     virtual void reset(); | 
| 340 | 340 | 
| 341     virtual void* preDispatchEventHandler(Event*); | 341     virtual void* preDispatchEventHandler(Event*); | 
| 342     virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch); | 342     virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch); | 
| 343 | 343 | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 421     ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
     ag)); | 421     ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
     ag)); | 
| 422     return static_cast<const HTMLInputElement*>(node); | 422     return static_cast<const HTMLInputElement*>(node); | 
| 423 } | 423 } | 
| 424 | 424 | 
| 425 // This will catch anyone doing an unnecessary cast. | 425 // This will catch anyone doing an unnecessary cast. | 
| 426 void toHTMLElement(const HTMLElement*); | 426 void toHTMLElement(const HTMLElement*); | 
| 427 | 427 | 
| 428 | 428 | 
| 429 } //namespace | 429 } //namespace | 
| 430 #endif | 430 #endif | 
| OLD | NEW | 
|---|