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

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.h

Issue 1810973004: Add the CustomElementsRegistry interface behind the flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase (merge conflict) 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/DOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.h b/third_party/WebKit/Source/core/frame/DOMWindow.h
index 7461a06d65243bb6306db7601cc0395a6fad7801..510cb977097e34afd69416754ed0c6b2c9c3ff71 100644
--- a/third_party/WebKit/Source/core/frame/DOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/DOMWindow.h
@@ -21,6 +21,7 @@ class BarProp;
class CSSRuleList;
class CSSStyleDeclaration;
class Console;
+class CustomElementsRegistry;
class DOMSelection;
class DOMWindowCSS;
class Document;
@@ -174,6 +175,9 @@ public:
virtual int requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&) = 0;
virtual void cancelIdleCallback(int id) = 0;
+ // Custom elements
+ virtual CustomElementsRegistry* customElements() const = 0;
+
void captureEvents() { }
void releaseEvents() { }

Powered by Google App Engine
This is Rietveld 408576698