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

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

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint 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
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.h ('k') | cc/input/input_handler.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_TRACED_VALUE_H_ 5 #ifndef CC_DEBUG_TRACED_VALUE_H_
6 #define CC_DEBUG_TRACED_VALUE_H_ 6 #define CC_DEBUG_TRACED_VALUE_H_
7 7
8 #include "cc/debug/debug_export.h"
9
8 namespace base { 10 namespace base {
9 namespace trace_event { 11 namespace trace_event {
10 class TracedValue; 12 class TracedValue;
11 } 13 }
12 } 14 }
13 15
14 namespace cc { 16 namespace cc {
15 17
16 class TracedValue { 18 class CC_DEBUG_EXPORT TracedValue {
17 public: 19 public:
18 static void AppendIDRef(const void* id, 20 static void AppendIDRef(const void* id,
19 base::trace_event::TracedValue* array); 21 base::trace_event::TracedValue* array);
20 static void SetIDRef(const void* id, 22 static void SetIDRef(const void* id,
21 base::trace_event::TracedValue* dict, 23 base::trace_event::TracedValue* dict,
22 const char* name); 24 const char* name);
23 static void MakeDictIntoImplicitSnapshot(base::trace_event::TracedValue* dict, 25 static void MakeDictIntoImplicitSnapshot(base::trace_event::TracedValue* dict,
24 const char* object_name, 26 const char* object_name,
25 const void* id); 27 const void* id);
26 static void MakeDictIntoImplicitSnapshotWithCategory( 28 static void MakeDictIntoImplicitSnapshotWithCategory(
27 const char* category, 29 const char* category,
28 base::trace_event::TracedValue* dict, 30 base::trace_event::TracedValue* dict,
29 const char* object_name, 31 const char* object_name,
30 const void* id); 32 const void* id);
31 static void MakeDictIntoImplicitSnapshotWithCategory( 33 static void MakeDictIntoImplicitSnapshotWithCategory(
32 const char* category, 34 const char* category,
33 base::trace_event::TracedValue* dict, 35 base::trace_event::TracedValue* dict,
34 const char* object_base_type_name, 36 const char* object_base_type_name,
35 const char* object_name, 37 const char* object_name,
36 const void* id); 38 const void* id);
37 }; 39 };
38 40
39 } // namespace cc 41 } // namespace cc
40 42
41 #endif // CC_DEBUG_TRACED_VALUE_H_ 43 #endif // CC_DEBUG_TRACED_VALUE_H_
OLDNEW
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.h ('k') | cc/input/input_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698