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

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: Fixed layout test (and logged bug) 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 bool hasAnimations() const; 504 bool hasAnimations() const;
505 505
506 void synchronizeAttribute(const AtomicString& localName) const; 506 void synchronizeAttribute(const AtomicString& localName) const;
507 507
508 MutableStylePropertySet& ensureMutableInlineStyle(); 508 MutableStylePropertySet& ensureMutableInlineStyle();
509 void clearMutableInlineStyleIfEmpty(); 509 void clearMutableInlineStyleIfEmpty();
510 510
511 void setTabIndex(int); 511 void setTabIndex(int);
512 short tabIndex() const override; 512 short tabIndex() const override;
513 513
514 bool hasCompositorProxy();
514 void incrementProxyCount(); 515 void incrementProxyCount();
515 void decrementProxyCount(); 516 void decrementProxyCount();
516 517
517 DECLARE_VIRTUAL_TRACE(); 518 DECLARE_VIRTUAL_TRACE();
518 519
519 SpellcheckAttributeState spellcheckAttributeState() const; 520 SpellcheckAttributeState spellcheckAttributeState() const;
520 521
521 protected: 522 protected:
522 Element(const QualifiedName& tagName, Document*, ConstructionType); 523 Element(const QualifiedName& tagName, Document*, ConstructionType);
523 524
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) 900 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&)
900 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 901 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
901 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \ 902 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document& document) \
902 { \ 903 { \
903 return adoptRefWillBeNoop(new T(tagName, document)); \ 904 return adoptRefWillBeNoop(new T(tagName, document)); \
904 } 905 }
905 906
906 } // namespace 907 } // namespace
907 908
908 #endif // Element_h 909 #endif // Element_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698