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 | 173 |
174 int selectionStartForBinding(ExceptionState&) const; | 174 int selectionStartForBinding(ExceptionState&) const; |
175 int selectionEndForBinding(ExceptionState&) const; | 175 int selectionEndForBinding(ExceptionState&) const; |
176 String selectionDirectionForBinding(ExceptionState&) const; | 176 String selectionDirectionForBinding(ExceptionState&) const; |
177 void setSelectionStartForBinding(int, ExceptionState&); | 177 void setSelectionStartForBinding(int, ExceptionState&); |
178 void setSelectionEndForBinding(int, ExceptionState&); | 178 void setSelectionEndForBinding(int, ExceptionState&); |
179 void setSelectionDirectionForBinding(const String&, ExceptionState&); | 179 void setSelectionDirectionForBinding(const String&, ExceptionState&); |
180 void setSelectionRangeForBinding(int start, int end, ExceptionState&); | 180 void setSelectionRangeForBinding(int start, int end, ExceptionState&); |
181 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionState&); | 181 void setSelectionRangeForBinding(int start, int end, const String& direction
, ExceptionState&); |
182 | 182 |
183 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 183 virtual bool rendererIsNeeded(const RenderStyle&); |
184 virtual RenderObject* createRenderer(RenderStyle*); | 184 virtual RenderObject* createRenderer(RenderStyle*); |
185 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 185 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; |
186 | 186 |
187 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
I-idiom here by making | 187 // FIXME: For isActivatedSubmit and setActivatedSubmit, we should use the NV
I-idiom here by making |
188 // it private virtual in all classes and expose a public method in HTMLFormC
ontrolElement to call | 188 // it private virtual in all classes and expose a public method in HTMLFormC
ontrolElement to call |
189 // the private virtual method. | 189 // the private virtual method. |
190 virtual bool isActivatedSubmit() const; | 190 virtual bool isActivatedSubmit() const; |
191 virtual void setActivatedSubmit(bool flag); | 191 virtual void setActivatedSubmit(bool flag); |
192 | 192 |
193 String altText() const; | 193 String altText() const; |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); | 422 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(HTMLNames::inputT
ag)); |
423 return static_cast<const HTMLInputElement*>(node); | 423 return static_cast<const HTMLInputElement*>(node); |
424 } | 424 } |
425 | 425 |
426 // This will catch anyone doing an unnecessary cast. | 426 // This will catch anyone doing an unnecessary cast. |
427 void toHTMLElement(const HTMLElement*); | 427 void toHTMLElement(const HTMLElement*); |
428 | 428 |
429 | 429 |
430 } //namespace | 430 } //namespace |
431 #endif | 431 #endif |
OLD | NEW |