| 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 "cc/compositor_frame.h" | 9 #include "cc/output/compositor_frame.h" |
| 10 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 12 |
| 13 using cc::CheckerboardDrawQuad; | 13 using cc::CheckerboardDrawQuad; |
| 14 using cc::DelegatedFrameData; | 14 using cc::DelegatedFrameData; |
| 15 using cc::DebugBorderDrawQuad; | 15 using cc::DebugBorderDrawQuad; |
| 16 using cc::DrawQuad; | 16 using cc::DrawQuad; |
| 17 using cc::IOSurfaceDrawQuad; | 17 using cc::IOSurfaceDrawQuad; |
| 18 using cc::RenderPass; | 18 using cc::RenderPass; |
| 19 using cc::RenderPassDrawQuad; | 19 using cc::RenderPassDrawQuad; |
| (...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 EXPECT_TRUE(IPC::ParamTraits<DelegatedFrameData>::Read(&msg, | 529 EXPECT_TRUE(IPC::ParamTraits<DelegatedFrameData>::Read(&msg, |
| 530 &iter, &frame_out)); | 530 &iter, &frame_out)); |
| 531 | 531 |
| 532 ASSERT_EQ(2u, frame_out.resource_list.size()); | 532 ASSERT_EQ(2u, frame_out.resource_list.size()); |
| 533 Compare(arbitrary_resource1, frame_out.resource_list[0]); | 533 Compare(arbitrary_resource1, frame_out.resource_list[0]); |
| 534 Compare(arbitrary_resource2, frame_out.resource_list[1]); | 534 Compare(arbitrary_resource2, frame_out.resource_list[1]); |
| 535 } | 535 } |
| 536 | 536 |
| 537 } // namespace | 537 } // namespace |
| 538 } // namespace content | 538 } // namespace content |
| OLD | NEW |