| 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 "cc/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "cc/base/thread_impl.h" | 8 #include "cc/base/thread_impl.h" |
| 9 #include "cc/layers/content_layer.h" | 9 #include "cc/layers/content_layer.h" |
| 10 #include "cc/layers/heads_up_display_layer.h" | 10 #include "cc/layers/heads_up_display_layer.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "cc/test/fake_web_scrollbar.h" | 30 #include "cc/test/fake_web_scrollbar.h" |
| 31 #include "cc/test/fake_web_scrollbar_theme_geometry.h" | 31 #include "cc/test/fake_web_scrollbar_theme_geometry.h" |
| 32 #include "cc/test/layer_tree_test.h" | 32 #include "cc/test/layer_tree_test.h" |
| 33 #include "cc/test/render_pass_test_common.h" | 33 #include "cc/test/render_pass_test_common.h" |
| 34 #include "cc/test/test_web_graphics_context_3d.h" | 34 #include "cc/test/test_web_graphics_context_3d.h" |
| 35 #include "cc/trees/layer_tree_host_impl.h" | 35 #include "cc/trees/layer_tree_host_impl.h" |
| 36 #include "cc/trees/layer_tree_impl.h" | 36 #include "cc/trees/layer_tree_impl.h" |
| 37 #include "cc/trees/single_thread_proxy.h" | 37 #include "cc/trees/single_thread_proxy.h" |
| 38 #include "gpu/GLES2/gl2extchromium.h" | 38 #include "gpu/GLES2/gl2extchromium.h" |
| 39 #include "media/base/media.h" | 39 #include "media/base/media.h" |
| 40 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" | 40 #include "third_party/WebKit/public/platform/WebFilterOperations.h" |
| 41 | 41 |
| 42 using media::VideoFrame; | 42 using media::VideoFrame; |
| 43 using WebKit::WebGraphicsContext3D; | 43 using WebKit::WebGraphicsContext3D; |
| 44 | 44 |
| 45 namespace cc { | 45 namespace cc { |
| 46 namespace { | 46 namespace { |
| 47 | 47 |
| 48 // These tests deal with losing the 3d graphics context. | 48 // These tests deal with losing the 3d graphics context. |
| 49 class LayerTreeHostContextTest : public LayerTreeTest { | 49 class LayerTreeHostContextTest : public LayerTreeTest { |
| 50 public: | 50 public: |
| (...skipping 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1598 LayerTreeHost::Create(this, settings, impl_ccthread.Pass()); | 1598 LayerTreeHost::Create(this, settings, impl_ccthread.Pass()); |
| 1599 EXPECT_FALSE(layer_tree_host); | 1599 EXPECT_FALSE(layer_tree_host); |
| 1600 } | 1600 } |
| 1601 }; | 1601 }; |
| 1602 | 1602 |
| 1603 SINGLE_AND_MULTI_THREAD_TEST_F( | 1603 SINGLE_AND_MULTI_THREAD_TEST_F( |
| 1604 LayerTreeHostTestCannotCreateIfCannotCreateOutputSurface); | 1604 LayerTreeHostTestCannotCreateIfCannotCreateOutputSurface); |
| 1605 | 1605 |
| 1606 } // namespace | 1606 } // namespace |
| 1607 } // namespace cc | 1607 } // namespace cc |
| OLD | NEW |