OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_VIEWER_INSTRUMENTATION_H_ | 5 #ifndef CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ |
6 #define CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ | 6 #define CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ |
7 | 7 |
8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
9 #include "cc/resources/tile.h" | 9 #include "cc/resources/tile.h" |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 namespace frame_viewer_instrumentation { | 12 namespace frame_viewer_instrumentation { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 const char kCategory[] = "cc"; | 15 const char kCategory[] = "cc," TRACE_DISABLED_BY_DEFAULT("devtools.timeline"); |
16 const char kTileData[] = "tileData"; | 16 const char kTileData[] = "tileData"; |
17 const char kLayerId[] = "layerId"; | 17 const char kLayerId[] = "layerId"; |
18 const char kTileId[] = "tileId"; | 18 const char kTileId[] = "tileId"; |
19 const char kTileResolution[] = "tileResolution"; | 19 const char kTileResolution[] = "tileResolution"; |
20 const char kSourceFrameNumber[] = "sourceFrameNumber"; | 20 const char kSourceFrameNumber[] = "sourceFrameNumber"; |
21 | 21 |
22 const char kAnalyzeTask[] = "AnalyzeTask"; | 22 const char kAnalyzeTask[] = "AnalyzeTask"; |
23 const char kRasterTask[] = "RasterTask"; | 23 const char kRasterTask[] = "RasterTask"; |
24 | 24 |
25 scoped_refptr<base::debug::ConvertableToTraceFormat> TileDataAsValue( | 25 scoped_refptr<base::debug::ConvertableToTraceFormat> TileDataAsValue( |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 } | 77 } |
78 | 78 |
79 private: | 79 private: |
80 DISALLOW_COPY_AND_ASSIGN(ScopedRasterTask); | 80 DISALLOW_COPY_AND_ASSIGN(ScopedRasterTask); |
81 }; | 81 }; |
82 | 82 |
83 } // namespace frame_viewer_instrumentation | 83 } // namespace frame_viewer_instrumentation |
84 } // namespace cc | 84 } // namespace cc |
85 | 85 |
86 #endif // CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ | 86 #endif // CC_DEBUG_FRAME_VIEWER_INSTRUMENTATION_H_ |
OLD | NEW |