Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: sky/engine/core/dom/Element.h

Issue 867963006: Add the <t> element and ignore whitespace outside it. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Do it for a whole subtree. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolver.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // Clones all attribute-derived data, including subclass specifics (through copyNonAttributeProperties.) 195 // Clones all attribute-derived data, including subclass specifics (through copyNonAttributeProperties.)
196 void cloneDataFromElement(const Element&); 196 void cloneDataFromElement(const Element&);
197 197
198 bool hasEquivalentAttributes(const Element* other) const; 198 bool hasEquivalentAttributes(const Element* other) const;
199 199
200 void attach(const AttachContext& = AttachContext()) final; 200 void attach(const AttachContext& = AttachContext()) final;
201 void detach(const AttachContext& = AttachContext()) final; 201 void detach(const AttachContext& = AttachContext()) final;
202 202
203 virtual RenderObject* createRenderer(RenderStyle*); 203 virtual RenderObject* createRenderer(RenderStyle*);
204 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); 204 void recalcStyle(StyleRecalcChange);
205 void setAnimationStyleChange(bool); 205 void setAnimationStyleChange(bool);
206 void setNeedsAnimationStyleRecalc(); 206 void setNeedsAnimationStyleRecalc();
207 207
208 bool supportsStyleSharing() const; 208 bool supportsStyleSharing() const;
209 209
210 ElementShadow* shadow() const; 210 ElementShadow* shadow() const;
211 ElementShadow& ensureShadow(); 211 ElementShadow& ensureShadow();
212 PassRefPtr<ShadowRoot> ensureShadowRoot(ExceptionState&); 212 PassRefPtr<ShadowRoot> ensureShadowRoot(ExceptionState&);
213 ShadowRoot* shadowRoot() const; 213 ShadowRoot* shadowRoot() const;
214 214
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 static PassRefPtr<T> create(const QualifiedName&, Document&) 589 static PassRefPtr<T> create(const QualifiedName&, Document&)
590 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 590 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
591 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 591 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \
592 { \ 592 { \
593 return adoptRef(new T(tagName, document)); \ 593 return adoptRef(new T(tagName, document)); \
594 } 594 }
595 595
596 } // namespace 596 } // namespace
597 597
598 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_ 598 #endif // SKY_ENGINE_CORE_DOM_ELEMENT_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/resolver/StyleResolver.cpp ('k') | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698