| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "content/common/cc_messages.h" | 5 #include "content/common/cc_messages.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 using cc::RenderPassDrawQuad; | 32 using cc::RenderPassDrawQuad; |
| 33 using cc::ResourceProvider; | 33 using cc::ResourceProvider; |
| 34 using cc::SharedQuadState; | 34 using cc::SharedQuadState; |
| 35 using cc::SoftwareFrameData; | 35 using cc::SoftwareFrameData; |
| 36 using cc::SolidColorDrawQuad; | 36 using cc::SolidColorDrawQuad; |
| 37 using cc::SurfaceDrawQuad; | 37 using cc::SurfaceDrawQuad; |
| 38 using cc::TextureDrawQuad; | 38 using cc::TextureDrawQuad; |
| 39 using cc::TileDrawQuad; | 39 using cc::TileDrawQuad; |
| 40 using cc::TransferableResource; | 40 using cc::TransferableResource; |
| 41 using cc::StreamVideoDrawQuad; | 41 using cc::StreamVideoDrawQuad; |
| 42 using cc::VideoLayerImpl; | |
| 43 using cc::YUVVideoDrawQuad; | 42 using cc::YUVVideoDrawQuad; |
| 44 using gfx::Transform; | 43 using gfx::Transform; |
| 45 | 44 |
| 46 namespace content { | 45 namespace content { |
| 47 namespace { | 46 namespace { |
| 48 | 47 |
| 49 class CCMessagesTest : public testing::Test { | 48 class CCMessagesTest : public testing::Test { |
| 50 protected: | 49 protected: |
| 51 void Compare(const RenderPass* a, const RenderPass* b) { | 50 void Compare(const RenderPass* a, const RenderPass* b) { |
| 52 EXPECT_EQ(a->id, b->id); | 51 EXPECT_EQ(a->id, b->id); |
| (...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 SoftwareFrameData frame_out; | 764 SoftwareFrameData frame_out; |
| 766 PickleIterator iter(msg); | 765 PickleIterator iter(msg); |
| 767 EXPECT_EQ( | 766 EXPECT_EQ( |
| 768 expect_read, | 767 expect_read, |
| 769 IPC::ParamTraits<SoftwareFrameData>::Read(&msg, &iter, &frame_out)); | 768 IPC::ParamTraits<SoftwareFrameData>::Read(&msg, &iter, &frame_out)); |
| 770 } | 769 } |
| 771 } | 770 } |
| 772 | 771 |
| 773 } // namespace | 772 } // namespace |
| 774 } // namespace content | 773 } // namespace content |
| OLD | NEW |