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

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

Issue 400533006: Revert "Implement scroll handler latency tracking" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | « cc/base/swap_promise.h ('k') | cc/trees/layer_tree_host.h » ('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_BASE_SWAP_PROMISE_MONITOR_H_
6 #define CC_BASE_SWAP_PROMISE_MONITOR_H_ 6 #define CC_BASE_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 {
(...skipping 15 matching lines...) Expand all
26 // If the monitor lives on the main thread, pass in layer_tree_host 26 // If the monitor lives on the main thread, pass in layer_tree_host
27 // and set layer_tree_host_impl to NULL. 27 // and set layer_tree_host_impl to NULL.
28 // If the monitor lives on the impl thread, pass in layer_tree_host_impl 28 // If the monitor lives on the impl thread, pass in layer_tree_host_impl
29 // and set layer_tree_host to NULL. 29 // and set layer_tree_host to NULL.
30 SwapPromiseMonitor(LayerTreeHost* layer_tree_host, 30 SwapPromiseMonitor(LayerTreeHost* layer_tree_host,
31 LayerTreeHostImpl* layer_tree_host_impl); 31 LayerTreeHostImpl* layer_tree_host_impl);
32 virtual ~SwapPromiseMonitor(); 32 virtual ~SwapPromiseMonitor();
33 33
34 virtual void OnSetNeedsCommitOnMain() = 0; 34 virtual void OnSetNeedsCommitOnMain() = 0;
35 virtual void OnSetNeedsRedrawOnImpl() = 0; 35 virtual void OnSetNeedsRedrawOnImpl() = 0;
36 virtual void OnForwardScrollUpdateToMainThreadOnImpl() = 0;
37 36
38 protected: 37 protected:
39 LayerTreeHost* layer_tree_host_; 38 LayerTreeHost* layer_tree_host_;
40 LayerTreeHostImpl* layer_tree_host_impl_; 39 LayerTreeHostImpl* layer_tree_host_impl_;
41 }; 40 };
42 41
43 } // namespace cc 42 } // namespace cc
44 43
45 #endif // CC_BASE_SWAP_PROMISE_MONITOR_H_ 44 #endif // CC_BASE_SWAP_PROMISE_MONITOR_H_
OLDNEW
« no previous file with comments | « cc/base/swap_promise.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698