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) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. |
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 } | 272 } |
273 void setCustomElementState(CustomElementState newState); | 273 void setCustomElementState(CustomElementState newState); |
274 | 274 |
275 virtual bool isMediaControlElement() const { return false; } | 275 virtual bool isMediaControlElement() const { return false; } |
276 virtual bool isMediaControls() const { return false; } | 276 virtual bool isMediaControls() const { return false; } |
277 virtual bool isTextTrackContainer() const { return false; } | 277 virtual bool isTextTrackContainer() const { return false; } |
278 virtual bool isVTTElement() const { return false; } | 278 virtual bool isVTTElement() const { return false; } |
279 virtual bool isAttributeNode() const { return false; } | 279 virtual bool isAttributeNode() const { return false; } |
280 virtual bool isCharacterDataNode() const { return false; } | 280 virtual bool isCharacterDataNode() const { return false; } |
281 virtual bool isFrameOwnerElement() const { return false; } | 281 virtual bool isFrameOwnerElement() const { return false; } |
| 282 virtual bool isFrameletElement() const { return false; } |
282 | 283 |
283 // StyledElements allow inline style (style="border: 1px"), presentational a
ttributes (ex. color), | 284 // StyledElements allow inline style (style="border: 1px"), presentational a
ttributes (ex. color), |
284 // class names (ex. class="foo bar") and other non-basic styling features. T
hey and also control | 285 // class names (ex. class="foo bar") and other non-basic styling features. T
hey and also control |
285 // if this element can participate in style sharing. | 286 // if this element can participate in style sharing. |
286 // | 287 // |
287 // FIXME: The only things that ever go through StyleResolver that aren't Sty
ledElements are | 288 // FIXME: The only things that ever go through StyleResolver that aren't Sty
ledElements are |
288 // PseudoElements and VTTElements. It's possible we can just eliminate all t
he checks | 289 // PseudoElements and VTTElements. It's possible we can just eliminate all t
he checks |
289 // since those elements will never have class names, inline style, or other
things that | 290 // since those elements will never have class names, inline style, or other
things that |
290 // this apparently guards against. | 291 // this apparently guards against. |
291 bool isStyledElement() const { return isHTMLElement() || isSVGElement(); } | 292 bool isStyledElement() const { return isHTMLElement() || isSVGElement(); } |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 } // namespace blink | 927 } // namespace blink |
927 | 928 |
928 #ifndef NDEBUG | 929 #ifndef NDEBUG |
929 // Outside the WebCore namespace for ease of invocation from gdb. | 930 // Outside the WebCore namespace for ease of invocation from gdb. |
930 void showNode(const blink::Node*); | 931 void showNode(const blink::Node*); |
931 void showTree(const blink::Node*); | 932 void showTree(const blink::Node*); |
932 void showNodePath(const blink::Node*); | 933 void showNodePath(const blink::Node*); |
933 #endif | 934 #endif |
934 | 935 |
935 #endif // Node_h | 936 #endif // Node_h |
OLD | NEW |