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

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

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: Merge master + s/scoped_ptr/unique_ptr/ Created 4 years, 8 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 30 matching lines...) Expand all
41 #include "public/platform/WebFocusType.h" 41 #include "public/platform/WebFocusType.h"
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 CustomElementDefinition; 52 class CustomElementDefinition;
52 class DOMStringMap; 53 class DOMStringMap;
53 class DOMTokenList; 54 class DOMTokenList;
54 class Dictionary; 55 class Dictionary;
55 class ElementRareData; 56 class ElementRareData;
56 class ElementShadow; 57 class ElementShadow;
57 class ExceptionState; 58 class ExceptionState;
58 class Image; 59 class Image;
59 class IntSize; 60 class IntSize;
60 class Locale; 61 class Locale;
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 543
543 // A compositor proxy is a very limited wrapper around an element. It 544 // A compositor proxy is a very limited wrapper around an element. It
544 // exposes only those properties that are requested at the time the proxy is 545 // exposes only those properties that are requested at the time the proxy is
545 // created. In order to know which properties are actually proxied, we 546 // created. In order to know which properties are actually proxied, we
546 // maintain a count of the number of compositor proxies associated with each 547 // maintain a count of the number of compositor proxies associated with each
547 // property. 548 // property.
548 bool hasCompositorProxy() const; 549 bool hasCompositorProxy() const;
549 void incrementCompositorProxiedProperties(uint32_t mutableProperties); 550 void incrementCompositorProxiedProperties(uint32_t mutableProperties);
550 void decrementCompositorProxiedProperties(uint32_t mutableProperties); 551 void decrementCompositorProxiedProperties(uint32_t mutableProperties);
551 uint32_t compositorMutableProperties() const; 552 uint32_t compositorMutableProperties() const;
553 void updateFromCompositorMutation(const CompositorMutation&);
552 554
553 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if 555 // Helpers for V8DOMActivityLogger::logEvent. They call logEvent only if
554 // the element is inShadowIncludingDocument() and the context is an isolated world. 556 // the element is inShadowIncludingDocument() and the context is an isolated world.
555 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q ualifiedName& attr1); 557 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q ualifiedName& attr1);
556 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q ualifiedName& attr1, const QualifiedName& attr2); 558 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q ualifiedName& attr1, const QualifiedName& attr2);
557 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); 559 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3);
558 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri ng& newValue); 560 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri ng& newValue);
559 561
560 DECLARE_VIRTUAL_TRACE(); 562 DECLARE_VIRTUAL_TRACE();
561 563
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 static T* create(const QualifiedName&, Document&) 954 static T* create(const QualifiedName&, Document&)
953 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ 955 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \
954 T* T::create(const QualifiedName& tagName, Document& document) \ 956 T* T::create(const QualifiedName& tagName, Document& document) \
955 { \ 957 { \
956 return new T(tagName, document); \ 958 return new T(tagName, document); \
957 } 959 }
958 960
959 } // namespace blink 961 } // namespace blink
960 962
961 #endif // Element_h 963 #endif // Element_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698