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

Unified 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: . Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index b4b5cbbf086bb47984c4ae36cce8ae609a699e61..24bc3c93725647cdefb3a21f34a05b12bb844184 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -531,8 +531,15 @@ public:
void setTabIndex(int);
short tabIndex() const override;
- void incrementProxyCount();
- void decrementProxyCount();
+ // A compositor proxy is a very limited wrapper around an element. It
+ // exposes only those properties that are requested at the time the proxy is
+ // created. In order to know which properties are actually proxied, we
+ // maintain a count of the number of compositor proxies associated with each
+ // property.
+ bool hasCompositorProxy() const;
+ void incrementProxiedPropertyCounts(uint32_t mutableProperties);
+ void decrementProxiedPropertyCounts(uint32_t mutableProperties);
+ uint32_t compositorMutableProperties() const;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698