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

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

Issue 187573002: Revert "Reverting custom pseudo element". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/SelectorChecker.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, 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 void setOuterHTML(const String&, ExceptionState&); 397 void setOuterHTML(const String&, ExceptionState&);
398 398
399 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&); 399 Element* insertAdjacentElement(const String& where, Element* newChild, Excep tionState&);
400 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&); 400 void insertAdjacentText(const String& where, const String& text, ExceptionSt ate&);
401 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&); 401 void insertAdjacentHTML(const String& where, const String& html, ExceptionSt ate&);
402 402
403 String textFromChildren(); 403 String textFromChildren();
404 404
405 virtual String title() const { return String(); } 405 virtual String title() const { return String(); }
406 406
407 virtual const AtomicString& pseudo() const { return shadowPseudoId(); }
408 void setPseudo(const AtomicString& value) { setShadowPseudoId(value); }
407 virtual const AtomicString& shadowPseudoId() const; 409 virtual const AtomicString& shadowPseudoId() const;
408 void setShadowPseudoId(const AtomicString&); 410 void setShadowPseudoId(const AtomicString&);
409 411
410 LayoutSize minimumSizeForResizing() const; 412 LayoutSize minimumSizeForResizing() const;
411 void setMinimumSizeForResizing(const LayoutSize&); 413 void setMinimumSizeForResizing(const LayoutSize&);
412 414
413 virtual void didBecomeFullscreenElement() { } 415 virtual void didBecomeFullscreenElement() { }
414 virtual void willStopBeingFullscreenElement() { } 416 virtual void willStopBeingFullscreenElement() { }
415 417
416 using Node::isFinishedParsingChildren; // make public for SelectorChecker 418 using Node::isFinishedParsingChildren; // make public for SelectorChecker
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 } 861 }
860 862
861 inline bool isShadowHost(const Element* element) 863 inline bool isShadowHost(const Element* element)
862 { 864 {
863 return element && element->shadow(); 865 return element && element->shadow();
864 } 866 }
865 867
866 } // namespace 868 } // namespace
867 869
868 #endif 870 #endif
OLDNEW
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698