| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/layer_tree_host_impl.h" | 5 #include "cc/layer_tree_host_impl.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "cc/test/render_pass_test_common.h" | 34 #include "cc/test/render_pass_test_common.h" |
| 35 #include "cc/texture_draw_quad.h" | 35 #include "cc/texture_draw_quad.h" |
| 36 #include "cc/texture_layer_impl.h" | 36 #include "cc/texture_layer_impl.h" |
| 37 #include "cc/tile_draw_quad.h" | 37 #include "cc/tile_draw_quad.h" |
| 38 #include "cc/tiled_layer_impl.h" | 38 #include "cc/tiled_layer_impl.h" |
| 39 #include "cc/video_layer_impl.h" | 39 #include "cc/video_layer_impl.h" |
| 40 #include "media/base/media.h" | 40 #include "media/base/media.h" |
| 41 #include "media/base/video_frame.h" | 41 #include "media/base/video_frame.h" |
| 42 #include "testing/gmock/include/gmock/gmock.h" | 42 #include "testing/gmock/include/gmock/gmock.h" |
| 43 #include "testing/gtest/include/gtest/gtest.h" | 43 #include "testing/gtest/include/gtest/gtest.h" |
| 44 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoFrame.h" |
| 45 #include "third_party/WebKit/Source/Platform/chromium/public/WebVideoFrameProvid
er.h" |
| 44 #include "ui/gfx/size_conversions.h" | 46 #include "ui/gfx/size_conversions.h" |
| 45 #include "ui/gfx/vector2d_conversions.h" | 47 #include "ui/gfx/vector2d_conversions.h" |
| 46 #include <public/WebVideoFrame.h> | |
| 47 #include <public/WebVideoFrameProvider.h> | |
| 48 | 48 |
| 49 using media::VideoFrame; | 49 using media::VideoFrame; |
| 50 using ::testing::Mock; | 50 using ::testing::Mock; |
| 51 using ::testing::Return; | 51 using ::testing::Return; |
| 52 using ::testing::AnyNumber; | 52 using ::testing::AnyNumber; |
| 53 using ::testing::AtLeast; | 53 using ::testing::AtLeast; |
| 54 using ::testing::_; | 54 using ::testing::_; |
| 55 | 55 |
| 56 namespace cc { | 56 namespace cc { |
| 57 namespace { | 57 namespace { |
| (...skipping 4769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4827 gfx::Rect noDamage = gfx::Rect(m_hostImpl->deviceViewportSize()); | 4827 gfx::Rect noDamage = gfx::Rect(m_hostImpl->deviceViewportSize()); |
| 4828 drawFrameAndTestDamage(noDamage); | 4828 drawFrameAndTestDamage(noDamage); |
| 4829 } | 4829 } |
| 4830 | 4830 |
| 4831 INSTANTIATE_TEST_CASE_P(LayerTreeHostImplTests, | 4831 INSTANTIATE_TEST_CASE_P(LayerTreeHostImplTests, |
| 4832 LayerTreeHostImplTest, | 4832 LayerTreeHostImplTest, |
| 4833 ::testing::Values(false, true)); | 4833 ::testing::Values(false, true)); |
| 4834 | 4834 |
| 4835 } // namespace | 4835 } // namespace |
| 4836 } // namespace cc | 4836 } // namespace cc |
| OLD | NEW |