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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_RENDERING_STATS_H_ 5 #ifndef CC_DEBUG_RENDERING_STATS_H_
6 #define CC_DEBUG_RENDERING_STATS_H_ 6 #define CC_DEBUG_RENDERING_STATS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "base/trace_event/trace_event_argument.h" 14 #include "base/trace_event/trace_event_argument.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "cc/base/cc_export.h" 16 #include "cc/cc_export.h"
17 #include "cc/debug/traced_value.h" 17 #include "cc/debug/traced_value.h"
18 18
19 namespace cc { 19 namespace cc {
20 20
21 struct CC_EXPORT RenderingStats { 21 struct CC_EXPORT RenderingStats {
22 // Stores a sequence of TimeDelta objects. 22 // Stores a sequence of TimeDelta objects.
23 class CC_EXPORT TimeDeltaList { 23 class CC_EXPORT TimeDeltaList {
24 public: 24 public:
25 TimeDeltaList(); 25 TimeDeltaList();
26 TimeDeltaList(const TimeDeltaList& other); 26 TimeDeltaList(const TimeDeltaList& other);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 TimeDeltaList commit_to_activate_duration_estimate; 59 TimeDeltaList commit_to_activate_duration_estimate;
60 60
61 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData() 61 std::unique_ptr<base::trace_event::ConvertableToTraceFormat> AsTraceableData()
62 const; 62 const;
63 void Add(const RenderingStats& other); 63 void Add(const RenderingStats& other);
64 }; 64 };
65 65
66 } // namespace cc 66 } // namespace cc
67 67
68 #endif // CC_DEBUG_RENDERING_STATS_H_ 68 #endif // CC_DEBUG_RENDERING_STATS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698