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

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

Issue 628443002: replace OVERRIDE and FINAL with override and final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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/latency_info_swap_promise.h ('k') | cc/base/unique_notifier_unittest.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 #include "base/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "cc/base/swap_promise_monitor.h" 6 #include "cc/base/swap_promise_monitor.h"
7 7
8 #ifndef CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_ 8 #ifndef CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_
9 #define CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_ 9 #define CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_
10 10
11 namespace ui { 11 namespace ui {
12 struct LatencyInfo; 12 struct LatencyInfo;
13 } // namespace ui 13 } // namespace ui
14 14
15 namespace cc { 15 namespace cc {
16 16
17 // A LatencyInfoSwapPromiseMonitor queues a LatencyInfoSwapPromise into 17 // A LatencyInfoSwapPromiseMonitor queues a LatencyInfoSwapPromise into
18 // LayerTreeHost or LayerTreeHostImpl if there is compositor state change 18 // LayerTreeHost or LayerTreeHostImpl if there is compositor state change
19 // while it is being mointored. 19 // while it is being mointored.
20 class CC_EXPORT LatencyInfoSwapPromiseMonitor : public SwapPromiseMonitor { 20 class CC_EXPORT LatencyInfoSwapPromiseMonitor : public SwapPromiseMonitor {
21 public: 21 public:
22 LatencyInfoSwapPromiseMonitor(ui::LatencyInfo* latency, 22 LatencyInfoSwapPromiseMonitor(ui::LatencyInfo* latency,
23 LayerTreeHost* layer_tree_host, 23 LayerTreeHost* layer_tree_host,
24 LayerTreeHostImpl* layer_tree_host_impl); 24 LayerTreeHostImpl* layer_tree_host_impl);
25 virtual ~LatencyInfoSwapPromiseMonitor(); 25 virtual ~LatencyInfoSwapPromiseMonitor();
26 26
27 virtual void OnSetNeedsCommitOnMain() OVERRIDE; 27 virtual void OnSetNeedsCommitOnMain() override;
28 virtual void OnSetNeedsRedrawOnImpl() OVERRIDE; 28 virtual void OnSetNeedsRedrawOnImpl() override;
29 virtual void OnForwardScrollUpdateToMainThreadOnImpl() OVERRIDE; 29 virtual void OnForwardScrollUpdateToMainThreadOnImpl() override;
30 30
31 private: 31 private:
32 ui::LatencyInfo* latency_; 32 ui::LatencyInfo* latency_;
33 }; 33 };
34 34
35 } // namespace cc 35 } // namespace cc
36 36
37 #endif // CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_ 37 #endif // CC_BASE_LATENCY_INFO_SWAP_PROMISE_MONITOR_H_
OLDNEW
« no previous file with comments | « cc/base/latency_info_swap_promise.h ('k') | cc/base/unique_notifier_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698