| 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 "HeadsUpDisplayLayerChromium.h" |
| 10 #include "LayerChromium.h" | 10 #include "LayerChromium.h" |
| 11 | 11 |
| 12 using namespace WebCore; | 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 { |
| 21 // Enable the HUD without requiring text. | 21 // Enable the HUD without requiring text. |
| 22 settings.showPropertyChangedRects = true; | 22 settings.showPropertyChangedRects = true; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 RefPtr<DrawsContentLayerChromium> m_rootLayer2; | 101 RefPtr<DrawsContentLayerChromium> m_rootLayer2; |
| 102 int m_numCommits; | 102 int m_numCommits; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 TEST_F(CCHudWithRootLayerChange, runMultiThread) | 105 TEST_F(CCHudWithRootLayerChange, runMultiThread) |
| 106 { | 106 { |
| 107 runTest(true); | 107 runTest(true); |
| 108 } | 108 } |
| 109 | 109 |
| 110 } // namespace | 110 } // namespace |
| OLD | NEW |