| OLD | NEW |
| 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 "CCLayerTreeHost.h" | 7 #include "CCLayerTreeHost.h" |
| 8 #include "CCThreadedTest.h" | 8 #include "CCThreadedTest.h" |
| 9 #include "HeadsUpDisplayLayerChromium.h" | 9 #include "cc/heads_up_display_layer.h" |
| 10 #include "LayerChromium.h" | 10 #include "cc/layer.h" |
| 11 | 11 |
| 12 using namespace cc; | 12 using namespace cc; |
| 13 using namespace WebKitTests; | 13 using namespace WebKitTests; |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 class CCHeadsUpDisplayTest : public CCThreadedTest { | 17 class CCHeadsUpDisplayTest : public CCThreadedTest { |
| 18 protected: | 18 protected: |
| 19 virtual void initializeSettings(CCLayerTreeSettings& settings) OVERRIDE | 19 virtual void initializeSettings(CCLayerTreeSettings& settings) OVERRIDE |
| 20 { | 20 { |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 scoped_refptr<DrawsContentLayerChromium> m_rootLayer2; | 104 scoped_refptr<DrawsContentLayerChromium> m_rootLayer2; |
| 105 int m_numCommits; | 105 int m_numCommits; |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 TEST_F(CCHudWithRootLayerChange, runMultiThread) | 108 TEST_F(CCHudWithRootLayerChange, runMultiThread) |
| 109 { | 109 { |
| 110 runTest(true); | 110 runTest(true); |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace | 113 } // namespace |
| OLD | NEW |