Chromium Code Reviews

Side by Side Diff: cc/trees/swap_promise_monitor.h

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/swap_promise_monitor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_BASE_SWAP_PROMISE_MONITOR_H_ 5 #ifndef CC_TREES_SWAP_PROMISE_MONITOR_H_
6 #define CC_BASE_SWAP_PROMISE_MONITOR_H_ 6 #define CC_TREES_SWAP_PROMISE_MONITOR_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 class LayerTreeHost; 12 class LayerTreeHost;
13 class LayerTreeHostImpl; 13 class LayerTreeHostImpl;
14 14
15 // A SwapPromiseMonitor is used to monitor compositor state change that 15 // A SwapPromiseMonitor is used to monitor compositor state change that
16 // should be associated with a SwapPromise, e.g. SetNeedsCommit() is 16 // should be associated with a SwapPromise, e.g. SetNeedsCommit() is
(...skipping 18 matching lines...)
35 virtual void OnSetNeedsRedrawOnImpl() = 0; 35 virtual void OnSetNeedsRedrawOnImpl() = 0;
36 virtual void OnForwardScrollUpdateToMainThreadOnImpl() = 0; 36 virtual void OnForwardScrollUpdateToMainThreadOnImpl() = 0;
37 37
38 protected: 38 protected:
39 LayerTreeHost* layer_tree_host_; 39 LayerTreeHost* layer_tree_host_;
40 LayerTreeHostImpl* layer_tree_host_impl_; 40 LayerTreeHostImpl* layer_tree_host_impl_;
41 }; 41 };
42 42
43 } // namespace cc 43 } // namespace cc
44 44
45 #endif // CC_BASE_SWAP_PROMISE_MONITOR_H_ 45 #endif // CC_TREES_SWAP_PROMISE_MONITOR_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/swap_promise_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine