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

Side by Side Diff: cc/animation/layer_tree_mutator.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: Fix export 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/proxy_main.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CC_ANIMATION_LAYER_TREE_MUTATOR_H_
6 #define CC_ANIMATION_LAYER_TREE_MUTATOR_H_
7
8 #include "base/callback_forward.h"
9
10 namespace cc {
11
12 class LayerTreeMutator {
13 public:
14 virtual ~LayerTreeMutator() {}
15
16 // The callback which is responsible for applying layer tree mutations to DOM
17 // elements.
18 using ApplyMutationsCallback = base::Closure;
esprehn 2016/03/31 05:03:11 why add a typedef for this? Seems more clear to ju
danakj 2016/04/05 17:41:11 Ya, just use a Closure IMO.
19 virtual ApplyMutationsCallback TakeMutations() = 0;
20 };
21
22 } // namespace cc
23
24 #endif // CC_ANIMATION_LAYER_TREE_MUTATOR_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/proxy_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698