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

Side by Side Diff: cc/heads_up_display_unittest.cc

Issue 11410022: cc: Remove forbidden using namespace directives. (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
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 "config.h" 5 #include "config.h"
6 6
7 #include "cc/heads_up_display_layer.h" 7 #include "cc/heads_up_display_layer.h"
8 #include "cc/layer.h" 8 #include "cc/layer.h"
9 #include "cc/layer_tree_host.h" 9 #include "cc/layer_tree_host.h"
10 #include "cc/test/layer_tree_test_common.h" 10 #include "cc/test/layer_tree_test_common.h"
11 11
12 using namespace cc;
13 using namespace WebKitTests; 12 using namespace WebKitTests;
14 13
14 namespace cc {
15 namespace { 15 namespace {
16 16
17 class HeadsUpDisplayTest : public ThreadedTest { 17 class HeadsUpDisplayTest : public ThreadedTest {
18 protected: 18 protected:
19 virtual void initializeSettings(LayerTreeSettings& settings) OVERRIDE 19 virtual void initializeSettings(LayerTreeSettings& settings) OVERRIDE
20 { 20 {
21 // Enable the HUD without requiring text. 21 // Enable the HUD without requiring text.
22 settings.showPropertyChangedRects = true; 22 settings.showPropertyChangedRects = true;
23 } 23 }
24 }; 24 };
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 scoped_refptr<DrawsContentLayer> m_rootLayer1; 103 scoped_refptr<DrawsContentLayer> m_rootLayer1;
104 scoped_refptr<DrawsContentLayer> m_rootLayer2; 104 scoped_refptr<DrawsContentLayer> m_rootLayer2;
105 int m_numCommits; 105 int m_numCommits;
106 }; 106 };
107 107
108 TEST_F(HudWithRootLayerChange, runMultiThread) 108 TEST_F(HudWithRootLayerChange, runMultiThread)
109 { 109 {
110 runTest(true); 110 runTest(true);
111 } 111 }
112 112
113 } // anonymous namespace 113 } // namespace
114 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698