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

Side by Side Diff: Source/core/dom/Element.h

Issue 986583002: Collect host of Web Component usage to send to RAPPOR (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix typo Created 5 years, 9 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 | « Source/core/dom/Document.cpp ('k') | Source/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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 void pseudoStateChanged(CSSSelector::PseudoType); 315 void pseudoStateChanged(CSSSelector::PseudoType);
316 void setAnimationStyleChange(bool); 316 void setAnimationStyleChange(bool);
317 void setNeedsAnimationStyleRecalc(); 317 void setNeedsAnimationStyleRecalc();
318 318
319 void setNeedsCompositingUpdate(); 319 void setNeedsCompositingUpdate();
320 320
321 bool supportsStyleSharing() const; 321 bool supportsStyleSharing() const;
322 322
323 ElementShadow* shadow() const; 323 ElementShadow* shadow() const;
324 ElementShadow& ensureShadow(); 324 ElementShadow& ensureShadow();
325 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ScriptState*, ExceptionS tate&);
325 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&); 326 PassRefPtrWillBeRawPtr<ShadowRoot> createShadowRoot(ExceptionState&);
326 ShadowRoot* shadowRoot() const; 327 ShadowRoot* shadowRoot() const;
327 ShadowRoot* youngestShadowRoot() const; 328 ShadowRoot* youngestShadowRoot() const;
328 329
329 bool hasOpenShadowRoot() const { return shadowRoot(); } 330 bool hasOpenShadowRoot() const { return shadowRoot(); }
330 ShadowRoot* closedShadowRoot() const; 331 ShadowRoot* closedShadowRoot() const;
331 ShadowRoot& ensureClosedShadowRoot(); 332 ShadowRoot& ensureClosedShadowRoot();
332 virtual void willAddFirstOpenShadowRoot() { } 333 virtual void willAddFirstOpenShadowRoot() { }
333 334
334 bool isInDescendantTreeOf(const Element* shadowHost) const; 335 bool isInDescendantTreeOf(const Element* shadowHost) const;
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 880 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
880 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 881 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
881 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 882 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
882 { \ 883 { \
883 return adoptRefWillBeNoop(new T(tagName, document)); \ 884 return adoptRefWillBeNoop(new T(tagName, document)); \
884 } 885 }
885 886
886 } // namespace 887 } // namespace
887 888
888 #endif // Element_h 889 #endif // Element_h
OLDNEW
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698