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

Unified Diff: third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h

Issue 2896773002: [DONT COMMIT] PaintWorklet: Move paintWorklet from 'window' to 'CSS' (Closed)
Patch Set: WIP Created 3 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/csspaint/WindowPaintWorklet.h
diff --git a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h b/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
deleted file mode 100644
index fdf46bf10108d8fcf6436be4292626d5bd12e954..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/csspaint/WindowPaintWorklet.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WindowPaintWorklet_h
-#define WindowPaintWorklet_h
-
-#include "modules/ModulesExport.h"
-#include "platform/Supplementable.h"
-#include "platform/heap/Handle.h"
-
-namespace blink {
-
-class LocalDOMWindow;
-class PaintWorklet;
-class Worklet;
-
-class MODULES_EXPORT WindowPaintWorklet final
- : public GarbageCollected<WindowPaintWorklet>,
- public Supplement<LocalDOMWindow> {
- USING_GARBAGE_COLLECTED_MIXIN(WindowPaintWorklet);
-
- public:
- static WindowPaintWorklet& From(LocalDOMWindow&);
- static Worklet* paintWorklet(LocalDOMWindow&);
- PaintWorklet* paintWorklet();
-
- DECLARE_TRACE();
-
- private:
- explicit WindowPaintWorklet(LocalDOMWindow&);
- static const char* SupplementName();
-
- Member<PaintWorklet> paint_worklet_;
-};
-
-} // namespace blink
-
-#endif // WindowPaintWorklet_h

Powered by Google App Engine
This is Rietveld 408576698