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, 2008, 2009, 2010 Apple Inc. All rights | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
6 * reserved. | 6 * reserved. |
7 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. | 7 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 FRIEND_TEST_ALL_PREFIXES(TextControlElementTest, IndexForPosition); | 216 FRIEND_TEST_ALL_PREFIXES(TextControlElementTest, IndexForPosition); |
217 }; | 217 }; |
218 | 218 |
219 inline bool isTextControlElement(const Element& element) { | 219 inline bool isTextControlElement(const Element& element) { |
220 return element.isTextControl(); | 220 return element.isTextControl(); |
221 } | 221 } |
222 | 222 |
223 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(TextControlElement); | 223 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(TextControlElement); |
224 | 224 |
225 TextControlElement* enclosingTextControl(const Position&); | 225 TextControlElement* enclosingTextControl(const Position&); |
226 TextControlElement* enclosingTextControl(Node*); | 226 TextControlElement* enclosingTextControl(const Node*); |
227 | 227 |
228 } // namespace blink | 228 } // namespace blink |
229 | 229 |
230 #endif | 230 #endif |
OLD | NEW |