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

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

Issue 421183003: Revert of Add builders for tracing event's structural arguments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual size_t GPUMemoryUsageInBytes() const OVERRIDE; 51 virtual size_t GPUMemoryUsageInBytes() const OVERRIDE;
52 52
53 protected: 53 protected:
54 TiledLayerImpl(LayerTreeImpl* tree_impl, int id); 54 TiledLayerImpl(LayerTreeImpl* tree_impl, int id);
55 // Exposed for testing. 55 // Exposed for testing.
56 bool HasTileAt(int i, int j) const; 56 bool HasTileAt(int i, int j) const;
57 bool HasResourceIdForTileAt(int i, int j) const; 57 bool HasResourceIdForTileAt(int i, int j) const;
58 58
59 virtual void GetDebugBorderProperties(SkColor* color, float* width) const 59 virtual void GetDebugBorderProperties(SkColor* color, float* width) const
60 OVERRIDE; 60 OVERRIDE;
61 virtual void AsValueInto(base::debug::TracedValue* dict) const OVERRIDE; 61 virtual void AsValueInto(base::DictionaryValue* state) const OVERRIDE;
62 62
63 private: 63 private:
64 virtual const char* LayerTypeAsString() const OVERRIDE; 64 virtual const char* LayerTypeAsString() const OVERRIDE;
65 65
66 DrawableTile* TileAt(int i, int j) const; 66 DrawableTile* TileAt(int i, int j) const;
67 DrawableTile* CreateTile(int i, int j); 67 DrawableTile* CreateTile(int i, int j);
68 68
69 bool skips_draw_; 69 bool skips_draw_;
70 70
71 scoped_ptr<LayerTilingData> tiler_; 71 scoped_ptr<LayerTilingData> tiler_;
72 72
73 DISALLOW_COPY_AND_ASSIGN(TiledLayerImpl); 73 DISALLOW_COPY_AND_ASSIGN(TiledLayerImpl);
74 }; 74 };
75 75
76 } // namespace cc 76 } // namespace cc
77 77
78 #endif // CC_LAYERS_TILED_LAYER_IMPL_H_ 78 #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