| OLD | NEW |
| 1 diff --git a/cc/BUILD.gn b/cc/BUILD.gn | 1 diff --git a/cc/BUILD.gn b/cc/BUILD.gn |
| 2 index 8ffaddc..e42f2f0 100644 | 2 index 1100151..44896c1 100644 |
| 3 --- a/cc/BUILD.gn | 3 --- a/cc/BUILD.gn |
| 4 +++ b/cc/BUILD.gn | 4 +++ b/cc/BUILD.gn |
| 5 @@ -214,13 +214,6 @@ component("cc") { | 5 @@ -214,13 +214,6 @@ component("cc") { |
| 6 "layers/ui_resource_layer.h", | 6 "layers/ui_resource_layer.h", |
| 7 "layers/ui_resource_layer_impl.cc", | 7 "layers/ui_resource_layer_impl.cc", |
| 8 "layers/ui_resource_layer_impl.h", | 8 "layers/ui_resource_layer_impl.h", |
| 9 - "layers/video_frame_provider.h", | 9 - "layers/video_frame_provider.h", |
| 10 - "layers/video_frame_provider_client_impl.cc", | 10 - "layers/video_frame_provider_client_impl.cc", |
| 11 - "layers/video_frame_provider_client_impl.h", | 11 - "layers/video_frame_provider_client_impl.h", |
| 12 - "layers/video_layer.cc", | 12 - "layers/video_layer.cc", |
| 13 - "layers/video_layer.h", | 13 - "layers/video_layer.h", |
| 14 - "layers/video_layer_impl.cc", | 14 - "layers/video_layer_impl.cc", |
| 15 - "layers/video_layer_impl.h", | 15 - "layers/video_layer_impl.h", |
| 16 "output/begin_frame_args.cc", | 16 "output/begin_frame_args.cc", |
| 17 "output/begin_frame_args.h", | 17 "output/begin_frame_args.h", |
| 18 "output/bsp_tree.cc", | 18 "output/bsp_tree.cc", |
| 19 @@ -457,8 +450,6 @@ component("cc") { | 19 @@ -464,8 +457,6 @@ component("cc") { |
| 20 "resources/ui_resource_client.h", | 20 "resources/ui_resource_client.h", |
| 21 "resources/ui_resource_request.cc", | 21 "resources/ui_resource_request.cc", |
| 22 "resources/ui_resource_request.h", | 22 "resources/ui_resource_request.h", |
| 23 - "resources/video_resource_updater.cc", | 23 - "resources/video_resource_updater.cc", |
| 24 - "resources/video_resource_updater.h", | 24 - "resources/video_resource_updater.h", |
| 25 "resources/zero_copy_tile_task_worker_pool.cc", | 25 "resources/zero_copy_tile_task_worker_pool.cc", |
| 26 "resources/zero_copy_tile_task_worker_pool.h", | 26 "resources/zero_copy_tile_task_worker_pool.h", |
| 27 "scheduler/begin_frame_source.cc", | 27 "scheduler/begin_frame_source.cc", |
| 28 @@ -600,8 +591,6 @@ source_set("test_support") { | 28 @@ -607,8 +598,6 @@ source_set("test_support") { |
| 29 "test/fake_tile_manager_client.h", | 29 "test/fake_tile_manager_client.h", |
| 30 "test/fake_ui_resource_layer_tree_host_impl.cc", | 30 "test/fake_ui_resource_layer_tree_host_impl.cc", |
| 31 "test/fake_ui_resource_layer_tree_host_impl.h", | 31 "test/fake_ui_resource_layer_tree_host_impl.h", |
| 32 - "test/fake_video_frame_provider.cc", | 32 - "test/fake_video_frame_provider.cc", |
| 33 - "test/fake_video_frame_provider.h", | 33 - "test/fake_video_frame_provider.h", |
| 34 "test/failure_output_surface.cc", | 34 "test/failure_output_surface.cc", |
| 35 "test/failure_output_surface.h", | 35 "test/failure_output_surface.h", |
| 36 "test/geometry_test_utils.cc", | 36 "test/geometry_test_utils.cc", |
| 37 @@ -757,7 +746,6 @@ test("cc_unittests") { | 37 @@ -764,7 +753,6 @@ test("cc_unittests") { |
| 38 "layers/tiled_layer_unittest.cc", | 38 "layers/tiled_layer_unittest.cc", |
| 39 "layers/ui_resource_layer_impl_unittest.cc", | 39 "layers/ui_resource_layer_impl_unittest.cc", |
| 40 "layers/ui_resource_layer_unittest.cc", | 40 "layers/ui_resource_layer_unittest.cc", |
| 41 - "layers/video_layer_impl_unittest.cc", | 41 - "layers/video_layer_impl_unittest.cc", |
| 42 "output/begin_frame_args_unittest.cc", | 42 "output/begin_frame_args_unittest.cc", |
| 43 "output/delegating_renderer_unittest.cc", | 43 "output/delegating_renderer_unittest.cc", |
| 44 "output/filter_operations_unittest.cc", | 44 "output/filter_operations_unittest.cc", |
| 45 @@ -789,7 +777,6 @@ test("cc_unittests") { | 45 @@ -796,7 +784,6 @@ test("cc_unittests") { |
| 46 "resources/texture_uploader_unittest.cc", | 46 "resources/texture_uploader_unittest.cc", |
| 47 "resources/tile_manager_unittest.cc", | 47 "resources/tile_manager_unittest.cc", |
| 48 "resources/tile_priority_unittest.cc", | 48 "resources/tile_priority_unittest.cc", |
| 49 - "resources/video_resource_updater_unittest.cc", | 49 - "resources/video_resource_updater_unittest.cc", |
| 50 "scheduler/begin_frame_source_unittest.cc", | 50 "scheduler/begin_frame_source_unittest.cc", |
| 51 "scheduler/delay_based_time_source_unittest.cc", | 51 "scheduler/delay_based_time_source_unittest.cc", |
| 52 "scheduler/scheduler_state_machine_unittest.cc", | 52 "scheduler/scheduler_state_machine_unittest.cc", |
| 53 @@ -818,7 +805,6 @@ test("cc_unittests") { | 53 @@ -825,7 +812,6 @@ test("cc_unittests") { |
| 54 "trees/layer_tree_host_unittest_picture.cc", | 54 "trees/layer_tree_host_unittest_picture.cc", |
| 55 "trees/layer_tree_host_unittest_proxy.cc", | 55 "trees/layer_tree_host_unittest_proxy.cc", |
| 56 "trees/layer_tree_host_unittest_scroll.cc", | 56 "trees/layer_tree_host_unittest_scroll.cc", |
| 57 - "trees/layer_tree_host_unittest_video.cc", | 57 - "trees/layer_tree_host_unittest_video.cc", |
| 58 "trees/layer_tree_impl_unittest.cc", | 58 "trees/layer_tree_impl_unittest.cc", |
| 59 "trees/occlusion_tracker_unittest.cc", | 59 "trees/occlusion_tracker_unittest.cc", |
| 60 "trees/occlusion_unittest.cc", | 60 "trees/occlusion_unittest.cc", |
| 61 diff --git a/cc/layers/video_frame_provider.h b/cc/layers/video_frame_provider.h | 61 diff --git a/cc/layers/video_frame_provider.h b/cc/layers/video_frame_provider.h |
| 62 deleted file mode 100644 | 62 deleted file mode 100644 |
| 63 index 784d951..0000000 | 63 index 784d951..0000000 |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 +++ b/cc/quads/yuv_video_draw_quad.h | 605 +++ b/cc/quads/yuv_video_draw_quad.h |
| 606 @@ -8,7 +8,6 @@ | 606 @@ -8,7 +8,6 @@ |
| 607 #include "base/basictypes.h" | 607 #include "base/basictypes.h" |
| 608 #include "base/memory/scoped_ptr.h" | 608 #include "base/memory/scoped_ptr.h" |
| 609 #include "cc/base/cc_export.h" | 609 #include "cc/base/cc_export.h" |
| 610 -#include "cc/layers/video_layer_impl.h" | 610 -#include "cc/layers/video_layer_impl.h" |
| 611 #include "cc/quads/draw_quad.h" | 611 #include "cc/quads/draw_quad.h" |
| 612 | 612 |
| 613 namespace cc { | 613 namespace cc { |
| 614 diff --git a/cc/resources/drawing_display_item.cc b/cc/resources/drawing_display
_item.cc | 614 diff --git a/cc/resources/drawing_display_item.cc b/cc/resources/drawing_display
_item.cc |
| 615 index 4efe9f3..7eb7573 100644 | 615 index f8d3c62..eb05e33 100644 |
| 616 --- a/cc/resources/drawing_display_item.cc | 616 --- a/cc/resources/drawing_display_item.cc |
| 617 +++ b/cc/resources/drawing_display_item.cc | 617 +++ b/cc/resources/drawing_display_item.cc |
| 618 @@ -4,6 +4,7 @@ | 618 @@ -4,6 +4,7 @@ |
| 619 | 619 |
| 620 #include "cc/resources/drawing_display_item.h" | 620 #include "cc/resources/drawing_display_item.h" |
| 621 | 621 |
| 622 +#include "base/logging.h" | 622 +#include "base/logging.h" |
| 623 #include "third_party/skia/include/core/SkCanvas.h" | 623 #include "third_party/skia/include/core/SkCanvas.h" |
| 624 #include "third_party/skia/include/core/SkDrawPictureCallback.h" |
| 624 #include "third_party/skia/include/core/SkMatrix.h" | 625 #include "third_party/skia/include/core/SkMatrix.h" |
| 625 #include "third_party/skia/include/core/SkPicture.h" | |
| 626 diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_hos
t_impl_unittest.cc | 626 diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_hos
t_impl_unittest.cc |
| 627 index fb2fdb6..6c46d8f 100644 | 627 index fb2fdb6..6c46d8f 100644 |
| 628 --- a/cc/trees/layer_tree_host_impl_unittest.cc | 628 --- a/cc/trees/layer_tree_host_impl_unittest.cc |
| 629 +++ b/cc/trees/layer_tree_host_impl_unittest.cc | 629 +++ b/cc/trees/layer_tree_host_impl_unittest.cc |
| 630 @@ -27,7 +27,6 @@ | 630 @@ -27,7 +27,6 @@ |
| 631 #include "cc/layers/solid_color_scrollbar_layer_impl.h" | 631 #include "cc/layers/solid_color_scrollbar_layer_impl.h" |
| 632 #include "cc/layers/texture_layer_impl.h" | 632 #include "cc/layers/texture_layer_impl.h" |
| 633 #include "cc/layers/tiled_layer_impl.h" | 633 #include "cc/layers/tiled_layer_impl.h" |
| 634 -#include "cc/layers/video_layer_impl.h" | 634 -#include "cc/layers/video_layer_impl.h" |
| 635 #include "cc/output/begin_frame_args.h" | 635 #include "cc/output/begin_frame_args.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 697 - video_layer->SetBounds(gfx::Size(10, 10)); | 697 - video_layer->SetBounds(gfx::Size(10, 10)); |
| 698 - video_layer->SetContentBounds(gfx::Size(10, 10)); | 698 - video_layer->SetContentBounds(gfx::Size(10, 10)); |
| 699 - video_layer->SetDrawsContent(true); | 699 - video_layer->SetDrawsContent(true); |
| 700 - root_layer->AddChild(video_layer.Pass()); | 700 - root_layer->AddChild(video_layer.Pass()); |
| 701 - SetupRootLayerImpl(root_layer.Pass()); | 701 - SetupRootLayerImpl(root_layer.Pass()); |
| 702 - | 702 - |
| 703 LayerTreeHostImpl::FrameData frame; | 703 LayerTreeHostImpl::FrameData frame; |
| 704 EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); | 704 EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); |
| 705 host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); | 705 host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); |
| 706 diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_uni
ttest.cc | 706 diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_uni
ttest.cc |
| 707 index f188260..84210e0 100644 | 707 index 50ace9b..69e5272 100644 |
| 708 --- a/cc/trees/layer_tree_host_unittest.cc | 708 --- a/cc/trees/layer_tree_host_unittest.cc |
| 709 +++ b/cc/trees/layer_tree_host_unittest.cc | 709 +++ b/cc/trees/layer_tree_host_unittest.cc |
| 710 @@ -18,7 +18,6 @@ | 710 @@ -18,7 +18,6 @@ |
| 711 #include "cc/layers/painted_scrollbar_layer.h" | 711 #include "cc/layers/painted_scrollbar_layer.h" |
| 712 #include "cc/layers/picture_layer.h" | 712 #include "cc/layers/picture_layer.h" |
| 713 #include "cc/layers/solid_color_layer.h" | 713 #include "cc/layers/solid_color_layer.h" |
| 714 -#include "cc/layers/video_layer.h" | 714 -#include "cc/layers/video_layer.h" |
| 715 #include "cc/output/begin_frame_args.h" | 715 #include "cc/output/begin_frame_args.h" |
| 716 #include "cc/output/compositor_frame_ack.h" | 716 #include "cc/output/compositor_frame_ack.h" |
| 717 #include "cc/output/copy_output_request.h" | 717 #include "cc/output/copy_output_request.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 - scoped_refptr<VideoFrame> color_video_frame_; | 864 - scoped_refptr<VideoFrame> color_video_frame_; |
| 865 - scoped_refptr<VideoFrame> hw_video_frame_; | 865 - scoped_refptr<VideoFrame> hw_video_frame_; |
| 866 - scoped_refptr<VideoFrame> scaled_hw_video_frame_; | 866 - scoped_refptr<VideoFrame> scaled_hw_video_frame_; |
| 867 - | 867 - |
| 868 - FakeVideoFrameProvider color_frame_provider_; | 868 - FakeVideoFrameProvider color_frame_provider_; |
| 869 - FakeVideoFrameProvider hw_frame_provider_; | 869 - FakeVideoFrameProvider hw_frame_provider_; |
| 870 - FakeVideoFrameProvider scaled_hw_frame_provider_; | 870 - FakeVideoFrameProvider scaled_hw_frame_provider_; |
| 871 }; | 871 }; |
| 872 | 872 |
| 873 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostContextTestDontUseLostResources); | 873 SINGLE_AND_MULTI_THREAD_TEST_F(LayerTreeHostContextTestDontUseLostResources); |
| OLD | NEW |