Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 ID string must start with "-webkit-". Also, if it starts | |
| 454 // with "-webkit-internal-", selectors including the pseudo ID is usable | |
|
esprehn
2016/05/09 19:39:50
just -internal, not -webkit-internal. We don't add
tkent
2016/05/10 04:29:29
Done.
PseudoWebKitCustomElement needs to start wit
| |
| 455 // 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 961 static T* create(const QualifiedName&, Document&) | 964 static T* create(const QualifiedName&, Document&) |
| 962 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 965 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 963 T* T::create(const QualifiedName& tagName, Document& document) \ | 966 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 964 { \ | 967 { \ |
| 965 return new T(tagName, document); \ | 968 return new T(tagName, document); \ |
| 966 } | 969 } |
| 967 | 970 |
| 968 } // namespace blink | 971 } // namespace blink |
| 969 | 972 |
| 970 #endif // Element_h | 973 #endif // Element_h |
| OLD | NEW |