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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2310823002: Skeleton implementation of CSS Properties and Values API (Closed)
Patch Set: custom properties :D Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index d641d2076d6b54f2eca18e4a68df8338b47f539b..03f585c517d734a9800e71b41f40cd393d7f20b2 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -140,6 +140,7 @@ class OriginAccessEntry;
class Page;
class PlatformMouseEvent;
class ProcessingInstruction;
+class PropertyRegistry;
class QualifiedName;
class Range;
class ResizeObserverController;
@@ -1094,6 +1095,8 @@ public:
bool isInMainFrame() const;
+ PropertyRegistry* propertyRegistry();
+
protected:
Document(const DocumentInit&, DocumentClassFlags = DefaultDocumentClass);
@@ -1416,6 +1419,8 @@ private:
bool m_mayContainV0Shadow = false;
Member<SnapCoordinator> m_snapCoordinator;
+
+ Member<PropertyRegistry> m_propertyRegistry;
};
extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Document>;

Powered by Google App Engine
This is Rietveld 408576698