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

Side by Side Diff: cc/debug/rasterize_and_record_benchmark_impl.h

Issue 2503283002: cc: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing fwd class decl in blimp_embedder_compositor.h Created 4 years, 1 month 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/debug/rasterize_and_record_benchmark.h ('k') | cc/input/browser_controls_offset_manager.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_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ 5 #ifndef CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_
6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ 6 #define CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "cc/debug/micro_benchmark_impl.h" 16 #include "cc/debug/micro_benchmark_impl.h"
17 #include "cc/raster/task_graph_runner.h" 17 #include "cc/raster/task_graph_runner.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 class LayerTreeHostImpl; 21 class LayerTreeHostImpl;
22 class PictureLayerImpl; 22 class PictureLayerImpl;
23 class LayerImpl; 23
24 class RasterizeAndRecordBenchmarkImpl : public MicroBenchmarkImpl { 24 class RasterizeAndRecordBenchmarkImpl : public MicroBenchmarkImpl {
25 public: 25 public:
26 explicit RasterizeAndRecordBenchmarkImpl( 26 explicit RasterizeAndRecordBenchmarkImpl(
27 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner, 27 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner,
28 base::Value* value, 28 base::Value* value,
29 const MicroBenchmarkImpl::DoneCallback& callback); 29 const MicroBenchmarkImpl::DoneCallback& callback);
30 ~RasterizeAndRecordBenchmarkImpl() override; 30 ~RasterizeAndRecordBenchmarkImpl() override;
31 31
32 // Implements MicroBenchmark interface. 32 // Implements MicroBenchmark interface.
33 void DidCompleteCommit(LayerTreeHostImpl* host) override; 33 void DidCompleteCommit(LayerTreeHostImpl* host) override;
(...skipping 15 matching lines...) Expand all
49 int total_picture_layers_off_screen; 49 int total_picture_layers_off_screen;
50 }; 50 };
51 51
52 RasterizeResults rasterize_results_; 52 RasterizeResults rasterize_results_;
53 int rasterize_repeat_count_; 53 int rasterize_repeat_count_;
54 }; 54 };
55 55
56 } // namespace cc 56 } // namespace cc
57 57
58 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_ 58 #endif // CC_DEBUG_RASTERIZE_AND_RECORD_BENCHMARK_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/rasterize_and_record_benchmark.h ('k') | cc/input/browser_controls_offset_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698