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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorMutationsCallback.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: clean up Created 4 years, 9 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 2016 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 CompositorMutationsCallback_h
6 #define CompositorMutationsCallback_h
7
8 #include "cc/animation/layer_tree_mutations_callback.h"
9 #include "platform/PlatformExport.h"
10 #include "platform/graphics/CompositorMutation.h"
11 #include "platform/heap/Handle.h"
12
13 namespace blink {
14
15 class CompositorMutationsTarget;
16
17 class CompositorMutationsCallback : public cc::LayerTreeMutationsCallback {
18 public:
19 CompositorMutationsCallback(PassOwnPtr<CompositorMutations>, CompositorMutat ionsTarget*);
20 ~CompositorMutationsCallback() override {}
21
22 // cc::LayerTreeMutationsCallback
23 void ApplyLayerTreeMutations() override;
24
25 private:
26 OwnPtr<CompositorMutations> m_mutations;
27 CompositorMutationsTarget* m_target;
28 };
29
30 } // namespace blink
31
32 #endif // CompositorMutationsCallback_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698