| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 int selectionEndForBinding(ExceptionCode&) const; | 180 int selectionEndForBinding(ExceptionCode&) const; |
| 181 String selectionDirectionForBinding(ExceptionCode&) const; | 181 String selectionDirectionForBinding(ExceptionCode&) const; |
| 182 void setSelectionStartForBinding(int, ExceptionCode&); | 182 void setSelectionStartForBinding(int, ExceptionCode&); |
| 183 void setSelectionEndForBinding(int, ExceptionCode&); | 183 void setSelectionEndForBinding(int, ExceptionCode&); |
| 184 void setSelectionDirectionForBinding(const String&, ExceptionCode&); | 184 void setSelectionDirectionForBinding(const String&, ExceptionCode&); |
| 185 void setSelectionRangeForBinding(int start, int end, ExceptionCode&); | 185 void setSelectionRangeForBinding(int start, int end, ExceptionCode&); |
| 186 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionCode&); | 186 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionCode&); |
| 187 | 187 |
| 188 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 188 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
| 189 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 189 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 190 virtual void detach(); | 190 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
| 191 | 191 |
| 192 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
I-idiom here by making | 192 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
I-idiom here by making |
| 193 // it private virtual in all classes and expose a public method in HTMLFormC
ontrolElement to call | 193 // it private virtual in all classes and expose a public method in HTMLFormC
ontrolElement to call |
| 194 // the private virtual method. | 194 // the private virtual method. |
| 195 virtual bool isActivatedSubmit() const; | 195 virtual bool isActivatedSubmit() const; |
| 196 virtual void setActivatedSubmit(bool flag); | 196 virtual void setActivatedSubmit(bool flag); |
| 197 | 197 |
| 198 String altText() const; | 198 String altText() const; |
| 199 | 199 |
| 200 int maxResults() const { return m_maxResults; } | 200 int maxResults() const { return m_maxResults; } |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 | 334 |
| 335 virtual void accessKeyAction(bool sendMouseEvents); | 335 virtual void accessKeyAction(bool sendMouseEvents); |
| 336 | 336 |
| 337 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 337 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 338 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; | 338 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; |
| 339 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; | 339 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) OVERRIDE; |
| 340 virtual void finishParsingChildren(); | 340 virtual void finishParsingChildren(); |
| 341 | 341 |
| 342 virtual void copyNonAttributePropertiesFromElement(const Element&); | 342 virtual void copyNonAttributePropertiesFromElement(const Element&); |
| 343 | 343 |
| 344 virtual void attach(); | 344 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; |
| 345 | 345 |
| 346 virtual bool appendFormData(FormDataList&, bool); | 346 virtual bool appendFormData(FormDataList&, bool); |
| 347 | 347 |
| 348 virtual bool isSuccessfulSubmitButton() const; | 348 virtual bool isSuccessfulSubmitButton() const; |
| 349 | 349 |
| 350 virtual void reset(); | 350 virtual void reset(); |
| 351 | 351 |
| 352 virtual void* preDispatchEventHandler(Event*); | 352 virtual void* preDispatchEventHandler(Event*); |
| 353 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch); | 353 virtual void postDispatchEventHandler(Event*, void* dataFromPreDispatch); |
| 354 | 354 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); | 431 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); |
| 432 return static_cast<const HTMLInputElement*>(node); | 432 return static_cast<const HTMLInputElement*>(node); |
| 433 } | 433 } |
| 434 | 434 |
| 435 // This will catch anyone doing an unnecessary cast. | 435 // This will catch anyone doing an unnecessary cast. |
| 436 void toHTMLElement(const HTMLElement*); | 436 void toHTMLElement(const HTMLElement*); |
| 437 | 437 |
| 438 | 438 |
| 439 } //namespace | 439 } //namespace |
| 440 #endif | 440 #endif |
| OLD | NEW |