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

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

Issue 149243006: Decide on IsFinishedParsingChilden for flag name (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Bring back friend Document Created 6 years, 10 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 | « no previous file | 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, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 virtual const AtomicString& shadowPseudoId() const; 411 virtual const AtomicString& shadowPseudoId() const;
412 void setShadowPseudoId(const AtomicString&); 412 void setShadowPseudoId(const AtomicString&);
413 413
414 LayoutSize minimumSizeForResizing() const; 414 LayoutSize minimumSizeForResizing() const;
415 void setMinimumSizeForResizing(const LayoutSize&); 415 void setMinimumSizeForResizing(const LayoutSize&);
416 416
417 virtual void didBecomeFullscreenElement() { } 417 virtual void didBecomeFullscreenElement() { }
418 virtual void willStopBeingFullscreenElement() { } 418 virtual void willStopBeingFullscreenElement() { }
419 419
420 // FIXME: Pick one name and remove the other method. 420 using Node::isFinishedParsingChildren; // make public for SelectorChecker
421 bool isFinishedParsingChildren() const { return isParsingChildrenFinished(); }
422 421
423 // Called by the parser when this element's close tag is reached, 422 // Called by the parser when this element's close tag is reached,
424 // signaling that all child tags have been parsed and added. 423 // signaling that all child tags have been parsed and added.
425 // This is needed for <applet> and <object> elements, which can't lay themse lves out 424 // This is needed for <applet> and <object> elements, which can't lay themse lves out
426 // until they know all of their nested <param>s. [Radar 3603191, 4040848]. 425 // until they know all of their nested <param>s. [Radar 3603191, 4040848].
427 // Also used for script elements and some SVG elements for similar purposes, 426 // Also used for script elements and some SVG elements for similar purposes,
428 // but making parsing a special case in this respect should be avoided if po ssible. 427 // but making parsing a special case in this respect should be avoided if po ssible.
429 virtual void finishParsingChildren(); 428 virtual void finishParsingChildren();
430 429
431 void beginParsingChildren() { setIsParsingChildrenFinished(false); } 430 void beginParsingChildren() { setIsFinishedParsingChildren(false); }
432 431
433 PseudoElement* pseudoElement(PseudoId) const; 432 PseudoElement* pseudoElement(PseudoId) const;
434 RenderObject* pseudoElementRenderer(PseudoId) const; 433 RenderObject* pseudoElementRenderer(PseudoId) const;
435 434
436 virtual bool matchesReadOnlyPseudoClass() const { return false; } 435 virtual bool matchesReadOnlyPseudoClass() const { return false; }
437 virtual bool matchesReadWritePseudoClass() const { return false; } 436 virtual bool matchesReadWritePseudoClass() const { return false; }
438 bool matches(const String& selectors, ExceptionState&); 437 bool matches(const String& selectors, ExceptionState&);
439 virtual bool shouldAppearIndeterminate() const { return false; } 438 virtual bool shouldAppearIndeterminate() const { return false; }
440 439
441 DOMTokenList* classList(); 440 DOMTokenList* classList();
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 } 890 }
892 891
893 inline bool isShadowHost(const Element* element) 892 inline bool isShadowHost(const Element* element)
894 { 893 {
895 return element && element->shadow(); 894 return element && element->shadow();
896 } 895 }
897 896
898 } // namespace 897 } // namespace
899 898
900 #endif 899 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698