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

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

Issue 11474050: cc: Unify namespaces for all test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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/tiled_layer_test_common.h ('k') | cc/tile_priority_unittest.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 #include "cc/test/tiled_layer_test_common.h" 5 #include "cc/test/tiled_layer_test_common.h"
6 6
7 using cc::LayerTilingData; 7 using cc::LayerTilingData;
8 using cc::LayerUpdater; 8 using cc::LayerUpdater;
9 using cc::PriorityCalculator; 9 using cc::PriorityCalculator;
10 using cc::PrioritizedResource; 10 using cc::PrioritizedResource;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 *contentsScaleX = static_cast<float>(m_forcedContentBounds.width()) / bounds ().width(); 163 *contentsScaleX = static_cast<float>(m_forcedContentBounds.width()) / bounds ().width();
164 *contentsScaleY = static_cast<float>(m_forcedContentBounds.height()) / bound s().height(); 164 *contentsScaleY = static_cast<float>(m_forcedContentBounds.height()) / bound s().height();
165 *contentBounds = m_forcedContentBounds; 165 *contentBounds = m_forcedContentBounds;
166 } 166 }
167 167
168 void FakeTiledLayerWithScaledBounds::didUpdateBounds() 168 void FakeTiledLayerWithScaledBounds::didUpdateBounds()
169 { 169 {
170 drawProperties().content_bounds = m_forcedContentBounds; 170 drawProperties().content_bounds = m_forcedContentBounds;
171 } 171 }
172 172
173 } // namespace 173 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/tiled_layer_test_common.h ('k') | cc/tile_priority_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698