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

Unified Diff: cc/base/latency_info_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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/base/latency_info_swap_promise.cc ('k') | cc/base/latency_info_swap_promise_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/latency_info_swap_promise_monitor.h
diff --git a/cc/base/latency_info_swap_promise_monitor.h b/cc/base/latency_info_swap_promise_monitor.h
deleted file mode 100644
index d9e71fbdb65bf438d80886069989857b77a89a99..0000000000000000000000000000000000000000
--- a/cc/base/latency_info_swap_promise_monitor.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 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.
-
-#include "base/compiler_specific.h"
-#include "cc/base/swap_promise_monitor.h"
-
-#ifndef CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_
-#define CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_
-
-namespace ui {
-struct LatencyInfo;
-} // namespace ui
-
-namespace cc {
-
-// A LatencyInfoSwapPromiseMonitor queues a LatencyInfoSwapPromise into
-// LayerTreeHost or LayerTreeHostImpl if there is compositor state change
-// while it is being mointored.
-class CC_EXPORT LatencyInfoSwapPromiseMonitor : public SwapPromiseMonitor {
- public:
- LatencyInfoSwapPromiseMonitor(ui::LatencyInfo* latency,
- LayerTreeHost* layer_tree_host,
- LayerTreeHostImpl* layer_tree_host_impl);
- ~LatencyInfoSwapPromiseMonitor() override;
-
- void OnSetNeedsCommitOnMain() override;
- void OnSetNeedsRedrawOnImpl() override;
- void OnForwardScrollUpdateToMainThreadOnImpl() override;
-
- private:
- ui::LatencyInfo* latency_;
-};
-
-} // namespace cc
-
-#endif // CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_
« no previous file with comments | « cc/base/latency_info_swap_promise.cc ('k') | cc/base/latency_info_swap_promise_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698