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

Unified Diff: third_party/WebKit/Source/modules/worklet/Worklet.h

Issue 2029163002: Worklets - Change inheritance heirarchy of WorkletGlobalScope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase. Created 4 years, 6 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/modules/worklet/Worklet.h
diff --git a/third_party/WebKit/Source/modules/worklet/Worklet.h b/third_party/WebKit/Source/modules/worklet/Worklet.h
index 9494a77f6e1be778606c355c0dd0a8539dc473e6..620cb77354fa95bcc6742242bdb8862d507b46c8 100644
--- a/third_party/WebKit/Source/modules/worklet/Worklet.h
+++ b/third_party/WebKit/Source/modules/worklet/Worklet.h
@@ -11,7 +11,6 @@
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/workers/WorkerScriptLoader.h"
#include "modules/ModulesExport.h"
-#include "modules/worklet/WorkletGlobalScope.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -19,13 +18,14 @@ namespace blink {
class ExecutionContext;
class ScriptPromiseResolver;
class WorkerScriptLoader;
+class WorkletGlobalScopeProxy;
class MODULES_EXPORT Worklet : public GarbageCollectedFinalized<Worklet>, public ScriptWrappable, public ActiveDOMObject {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(Worklet);
WTF_MAKE_NONCOPYABLE(Worklet);
public:
- virtual WorkletGlobalScope* workletGlobalScope() const = 0;
+ virtual WorkletGlobalScopeProxy* workletGlobalScopeProxy() const = 0;
// Worklet
ScriptPromise import(ScriptState*, const String& url);
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/modules/worklet/Worklet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698