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

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

Issue 2170383002: CustomElements: adopt node (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: layout test went from bad to good, deleting failure expectation Created 4 years, 4 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class ElementAnimations; 45 class ElementAnimations;
46 class Attr; 46 class Attr;
47 class Attribute; 47 class Attribute;
48 class CSSStyleDeclaration; 48 class CSSStyleDeclaration;
49 class ClientRect; 49 class ClientRect;
50 class ClientRectList; 50 class ClientRectList;
51 class CompositorMutation; 51 class CompositorMutation;
52 class V0CustomElementDefinition; 52 class V0CustomElementDefinition;
dominicc (has gone to gerrit) 2016/08/03 07:56:56 Whoever changed this one forgot to keep them in al
53 class CustomElementDefinition;
53 class DOMStringMap; 54 class DOMStringMap;
54 class DOMTokenList; 55 class DOMTokenList;
55 class Dictionary; 56 class Dictionary;
56 class ElementRareData; 57 class ElementRareData;
57 class ElementShadow; 58 class ElementShadow;
58 class ExceptionState; 59 class ExceptionState;
59 class Image; 60 class Image;
60 class IntSize; 61 class IntSize;
61 class Locale; 62 class Locale;
62 class MutableStylePropertySet; 63 class MutableStylePropertySet;
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 511
511 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched 512 // Used for disabled form elements; if true, prevents mouse events from bein g dispatched
512 // to event listeners, and prevents DOMActivate events from being sent at al l. 513 // to event listeners, and prevents DOMActivate events from being sent at al l.
513 virtual bool isDisabledFormControl() const { return false; } 514 virtual bool isDisabledFormControl() const { return false; }
514 515
515 bool hasPendingResources() const { return hasElementFlag(HasPendingResources ); } 516 bool hasPendingResources() const { return hasElementFlag(HasPendingResources ); }
516 void setHasPendingResources() { setElementFlag(HasPendingResources); } 517 void setHasPendingResources() { setElementFlag(HasPendingResources); }
517 void clearHasPendingResources() { clearElementFlag(HasPendingResources); } 518 void clearHasPendingResources() { clearElementFlag(HasPendingResources); }
518 virtual void buildPendingResource() { } 519 virtual void buildPendingResource() { }
519 520
520 void setCustomElementDefinition(V0CustomElementDefinition*); 521 void v0setCustomElementDefinition(V0CustomElementDefinition*);
521 V0CustomElementDefinition* customElementDefinition() const; 522 V0CustomElementDefinition* v0customElementDefinition() const;
523
524 void setCustomElementDefinition(CustomElementDefinition*);
525 CustomElementDefinition* customElementDefinition() const;
522 526
523 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS creenElement); } 527 bool containsFullScreenElement() const { return hasElementFlag(ContainsFullS creenElement); }
524 void setContainsFullScreenElement(bool); 528 void setContainsFullScreenElement(bool);
525 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool); 529 void setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool);
526 530
527 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); } 531 bool isInTopLayer() const { return hasElementFlag(IsInTopLayer); }
528 void setIsInTopLayer(bool); 532 void setIsInTopLayer(bool);
529 533
530 void requestPointerLock(); 534 void requestPointerLock();
531 535
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 static T* create(const QualifiedName&, Document&) 982 static T* create(const QualifiedName&, Document&)
979 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 983 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
980 T* T::create(const QualifiedName& tagName, Document& document) \ 984 T* T::create(const QualifiedName& tagName, Document& document) \
981 { \ 985 { \
982 return new T(tagName, document); \ 986 return new T(tagName, document); \
983 } 987 }
984 988
985 } // namespace blink 989 } // namespace blink
986 990
987 #endif // Element_h 991 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698