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

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

Issue 1405993008: compositor-worker: plumb element id and mutable properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/WebMutable/WebCompositorMutable/g Created 5 years, 1 month 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 bool hasAnimations() const; 524 bool hasAnimations() const;
525 525
526 void synchronizeAttribute(const AtomicString& localName) const; 526 void synchronizeAttribute(const AtomicString& localName) const;
527 527
528 MutableStylePropertySet& ensureMutableInlineStyle(); 528 MutableStylePropertySet& ensureMutableInlineStyle();
529 void clearMutableInlineStyleIfEmpty(); 529 void clearMutableInlineStyleIfEmpty();
530 530
531 void setTabIndex(int); 531 void setTabIndex(int);
532 short tabIndex() const override; 532 short tabIndex() const override;
533 533
534 void incrementProxyCount(); 534 bool hasCompositorProxy() const;
535 void decrementProxyCount(); 535 void incrementProxiedPropertyCounts(uint32_t mutableProperties);
chrishtr 2015/11/24 16:22:50 Please document what this is doing.
Ian Vollick 2015/11/25 18:28:45 Done.
536 void decrementProxiedPropertyCounts(uint32_t mutableProperties);
537 uint32_t mutableProperties() const;
536 538
537 DECLARE_VIRTUAL_TRACE(); 539 DECLARE_VIRTUAL_TRACE();
538 540
539 SpellcheckAttributeState spellcheckAttributeState() const; 541 SpellcheckAttributeState spellcheckAttributeState() const;
540 542
541 protected: 543 protected:
542 Element(const QualifiedName& tagName, Document*, ConstructionType); 544 Element(const QualifiedName& tagName, Document*, ConstructionType);
543 545
544 const ElementData* elementData() const { return m_elementData.get(); } 546 const ElementData* elementData() const { return m_elementData.get(); }
545 UniqueElementData& ensureUniqueElementData(); 547 UniqueElementData& ensureUniqueElementData();
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 921 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
920 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 922 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
921 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 923 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
922 { \ 924 { \
923 return adoptRefWillBeNoop(new T(tagName, document)); \ 925 return adoptRefWillBeNoop(new T(tagName, document)); \
924 } 926 }
925 927
926 } // namespace 928 } // namespace
927 929
928 #endif // Element_h 930 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698