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

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

Issue 1958073002: Introduce :-internal-shadow-host-has-appearance pseudo class, and apply it to METER element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove null host check Created 4 years, 7 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
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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 443
444 void setPointerCapture(int pointerId, ExceptionState&); 444 void setPointerCapture(int pointerId, ExceptionState&);
445 void releasePointerCapture(int pointerId, ExceptionState&); 445 void releasePointerCapture(int pointerId, ExceptionState&);
446 446
447 String textFromChildren(); 447 String textFromChildren();
448 448
449 virtual String title() const { return String(); } 449 virtual String title() const { return String(); }
450 virtual String defaultToolTip() const { return String(); } 450 virtual String defaultToolTip() const { return String(); }
451 451
452 virtual const AtomicString& shadowPseudoId() const; 452 virtual const AtomicString& shadowPseudoId() const;
453 // The specified string must start with "-webkit-" or "-internal-". The
454 // former can be used as a selector in any places, and the latter can be
455 // used only in UA stylesheet.
453 void setShadowPseudoId(const AtomicString&); 456 void setShadowPseudoId(const AtomicString&);
454 457
455 LayoutSize minimumSizeForResizing() const; 458 LayoutSize minimumSizeForResizing() const;
456 void setMinimumSizeForResizing(const LayoutSize&); 459 void setMinimumSizeForResizing(const LayoutSize&);
457 460
458 virtual void didBecomeFullscreenElement() { } 461 virtual void didBecomeFullscreenElement() { }
459 virtual void willStopBeingFullscreenElement() { } 462 virtual void willStopBeingFullscreenElement() { }
460 463
461 // Called by the parser when this element's close tag is reached, 464 // Called by the parser when this element's close tag is reached,
462 // signaling that all child tags have been parsed and added. 465 // signaling that all child tags have been parsed and added.
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 static T* create(const QualifiedName&, Document&) 966 static T* create(const QualifiedName&, Document&)
964 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 967 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
965 T* T::create(const QualifiedName& tagName, Document& document) \ 968 T* T::create(const QualifiedName& tagName, Document& document) \
966 { \ 969 { \
967 return new T(tagName, document); \ 970 return new T(tagName, document); \
968 } 971 }
969 972
970 } // namespace blink 973 } // namespace blink
971 974
972 #endif // Element_h 975 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698