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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 int selectionStartForBinding(ExceptionCode&) const; | 179 int selectionStartForBinding(ExceptionCode&) const; |
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(RenderStyle*); |
190 virtual void detach(const AttachContext& = AttachContext()) OVERRIDE; | 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 |
(...skipping 231 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 |