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

Side by Side Diff: cc/layers/tiled_layer_impl.h

Issue 879913002: mechanical rename of base::debug -> base::trace_event for /cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part3
Patch Set: Edited a comment Created 5 years, 10 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/layers/surface_layer_impl.cc ('k') | cc/layers/tiled_layer_impl.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_LAYERS_TILED_LAYER_IMPL_H_ 5 #ifndef CC_LAYERS_TILED_LAYER_IMPL_H_
6 #define CC_LAYERS_TILED_LAYER_IMPL_H_ 6 #define CC_LAYERS_TILED_LAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 TiledLayerImpl(LayerTreeImpl* tree_impl, int id); 61 TiledLayerImpl(LayerTreeImpl* tree_impl, int id);
62 TiledLayerImpl( 62 TiledLayerImpl(
63 LayerTreeImpl* tree_impl, 63 LayerTreeImpl* tree_impl,
64 int id, 64 int id,
65 scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset); 65 scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset);
66 // Exposed for testing. 66 // Exposed for testing.
67 bool HasTileAt(int i, int j) const; 67 bool HasTileAt(int i, int j) const;
68 bool HasResourceIdForTileAt(int i, int j) const; 68 bool HasResourceIdForTileAt(int i, int j) const;
69 69
70 void GetDebugBorderProperties(SkColor* color, float* width) const override; 70 void GetDebugBorderProperties(SkColor* color, float* width) const override;
71 void AsValueInto(base::debug::TracedValue* dict) const override; 71 void AsValueInto(base::trace_event::TracedValue* dict) const override;
72 72
73 private: 73 private:
74 const char* LayerTypeAsString() const override; 74 const char* LayerTypeAsString() const override;
75 75
76 DrawableTile* TileAt(int i, int j) const; 76 DrawableTile* TileAt(int i, int j) const;
77 DrawableTile* CreateTile(int i, int j); 77 DrawableTile* CreateTile(int i, int j);
78 78
79 bool skips_draw_; 79 bool skips_draw_;
80 80
81 scoped_ptr<LayerTilingData> tiler_; 81 scoped_ptr<LayerTilingData> tiler_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(TiledLayerImpl); 83 DISALLOW_COPY_AND_ASSIGN(TiledLayerImpl);
84 }; 84 };
85 85
86 } // namespace cc 86 } // namespace cc
87 87
88 #endif // CC_LAYERS_TILED_LAYER_IMPL_H_ 88 #endif // CC_LAYERS_TILED_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/surface_layer_impl.cc ('k') | cc/layers/tiled_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698