Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: content/common/cc_messages_unittest.cc

Issue 12912006: Part 4 of cc/ directory shuffles: output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698