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

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

Issue 11312181: cc: Remove the remaining using-directives of namespace cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/layer_tree_test_common.cc ('k') | no next file » | 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 namespace cc; 7 using cc::LayerTilingData;
8 using cc::LayerUpdater;
9 using cc::PriorityCalculator;
10 using cc::PrioritizedResource;
11 using cc::PrioritizedResourceManager;
12 using cc::RenderingStats;
13 using cc::ResourceUpdate;
14 using cc::ResourceUpdateQueue;
8 15
9 namespace WebKitTests { 16 namespace WebKitTests {
10 17
11 FakeLayerUpdater::Resource::Resource(FakeLayerUpdater* layer, scoped_ptr<Priorit izedResource> texture) 18 FakeLayerUpdater::Resource::Resource(FakeLayerUpdater* layer, scoped_ptr<Priorit izedResource> texture)
12 : LayerUpdater::Resource(texture.Pass()) 19 : LayerUpdater::Resource(texture.Pass())
13 , m_layer(layer) 20 , m_layer(layer)
14 { 21 {
15 m_bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10); 22 m_bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 10);
16 m_bitmap.allocPixels(); 23 m_bitmap.allocPixels();
17 } 24 }
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 { 153 {
147 return static_cast<float>(m_forcedContentBounds.height()) / bounds().height( ); 154 return static_cast<float>(m_forcedContentBounds.height()) / bounds().height( );
148 } 155 }
149 156
150 void FakeTiledLayerWithScaledBounds::setContentsScale(float) 157 void FakeTiledLayerWithScaledBounds::setContentsScale(float)
151 { 158 {
152 NOTREACHED(); 159 NOTREACHED();
153 } 160 }
154 161
155 } // namespace 162 } // namespace
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test_common.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698