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

Side by Side Diff: third_party/WebKit/Source/core/workers/WorkletObjectProxy.h

Issue 2839123003: Worklet: Introduce "pending tasks struct" concept defined in the Worklet spec (Closed)
Patch Set: address review comments Created 3 years, 7 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WorkletObjectProxy_h
6 #define WorkletObjectProxy_h
7
8 #include "core/CoreExport.h"
9 #include "platform/heap/GarbageCollected.h"
10 #include "platform/weborigin/KURL.h"
11 #include "platform/wtf/text/WTFString.h"
12
13 namespace blink {
14
15 // A proxy to talk to the Worklet object on the main thread from the worklet
16 // global scope that may exist in the main thread or on a different thread.
17 class CORE_EXPORT WorkletObjectProxy : public GarbageCollectedMixin {
18 public:
19 // Called when the worklet module script is fetched and evaluated. |success|
20 // is true if the sequence is completed without an error.
21 virtual void DidFetchAndInvokeScript(int32_t request_id, bool success) = 0;
22 };
23
24 } // namespace blink
25
26 #endif // WorkletObjectProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698