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

Side by Side Diff: cc/test/tiled_layer_test_common.h

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/trees/damage_tracker.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 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_TEST_TILED_LAYER_TEST_COMMON_H_ 5 #ifndef CC_TEST_TILED_LAYER_TEST_COMMON_H_
6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_ 6 #define CC_TEST_TILED_LAYER_TEST_COMMON_H_
7 7
8 #include "cc/base/region.h" 8 #include "cc/base/region.h"
9 #include "cc/layers/tiled_layer.h" 9 #include "cc/layers/tiled_layer.h"
10 #include "cc/layers/tiled_layer_impl.h" 10 #include "cc/layers/tiled_layer_impl.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return last_needs_display_rect_; 112 return last_needs_display_rect_;
113 } 113 }
114 114
115 virtual void SetTexturePriorities( 115 virtual void SetTexturePriorities(
116 const PriorityCalculator& priority_calculator) OVERRIDE; 116 const PriorityCalculator& priority_calculator) OVERRIDE;
117 117
118 virtual PrioritizedResourceManager* ResourceManager() const OVERRIDE; 118 virtual PrioritizedResourceManager* ResourceManager() const OVERRIDE;
119 FakeLayerUpdater* fake_layer_updater() { return fake_updater_.get(); } 119 FakeLayerUpdater* fake_layer_updater() { return fake_updater_.get(); }
120 gfx::RectF update_rect() { return update_rect_; } 120 gfx::RectF update_rect() { return update_rect_; }
121 121
122 // Simulate calcDrawProperties. 122 // Simulate CalcDrawProperties.
123 void UpdateContentsScale(float ideal_contents_scale); 123 void UpdateContentsScale(float ideal_contents_scale);
124 124
125 protected: 125 protected:
126 virtual LayerUpdater* Updater() const OVERRIDE; 126 virtual LayerUpdater* Updater() const OVERRIDE;
127 virtual void CreateUpdaterIfNeeded() OVERRIDE {} 127 virtual void CreateUpdaterIfNeeded() OVERRIDE {}
128 virtual ~FakeTiledLayer(); 128 virtual ~FakeTiledLayer();
129 129
130 private: 130 private:
131 scoped_refptr<FakeLayerUpdater> fake_updater_; 131 scoped_refptr<FakeLayerUpdater> fake_updater_;
132 PrioritizedResourceManager* resource_manager_; 132 PrioritizedResourceManager* resource_manager_;
(...skipping 17 matching lines...) Expand all
150 protected: 150 protected:
151 virtual ~FakeTiledLayerWithScaledBounds(); 151 virtual ~FakeTiledLayerWithScaledBounds();
152 gfx::Size forced_content_bounds_; 152 gfx::Size forced_content_bounds_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(FakeTiledLayerWithScaledBounds); 154 DISALLOW_COPY_AND_ASSIGN(FakeTiledLayerWithScaledBounds);
155 }; 155 };
156 156
157 } // namespace cc 157 } // namespace cc
158 158
159 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_ 159 #endif // CC_TEST_TILED_LAYER_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/test/render_pass_test_utils.cc ('k') | cc/trees/damage_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698