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

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

Issue 1144523003: Rename cc::ResourceProvider::ResourceId to cc::ResourceId and move it to its own file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <algorithm> 9 #include <algorithm>
10 10
(...skipping 12 matching lines...) Expand all
23 using cc::DelegatedFrameData; 23 using cc::DelegatedFrameData;
24 using cc::DebugBorderDrawQuad; 24 using cc::DebugBorderDrawQuad;
25 using cc::DrawQuad; 25 using cc::DrawQuad;
26 using cc::FilterOperation; 26 using cc::FilterOperation;
27 using cc::FilterOperations; 27 using cc::FilterOperations;
28 using cc::IOSurfaceDrawQuad; 28 using cc::IOSurfaceDrawQuad;
29 using cc::PictureDrawQuad; 29 using cc::PictureDrawQuad;
30 using cc::RenderPass; 30 using cc::RenderPass;
31 using cc::RenderPassId; 31 using cc::RenderPassId;
32 using cc::RenderPassDrawQuad; 32 using cc::RenderPassDrawQuad;
33 using cc::ResourceId;
33 using cc::ResourceProvider; 34 using cc::ResourceProvider;
34 using cc::SharedQuadState; 35 using cc::SharedQuadState;
35 using cc::SoftwareFrameData; 36 using cc::SoftwareFrameData;
36 using cc::SolidColorDrawQuad; 37 using cc::SolidColorDrawQuad;
37 using cc::SurfaceDrawQuad; 38 using cc::SurfaceDrawQuad;
38 using cc::TextureDrawQuad; 39 using cc::TextureDrawQuad;
39 using cc::TileDrawQuad; 40 using cc::TileDrawQuad;
40 using cc::TransferableResource; 41 using cc::TransferableResource;
41 using cc::StreamVideoDrawQuad; 42 using cc::StreamVideoDrawQuad;
42 using cc::YUVVideoDrawQuad; 43 using cc::YUVVideoDrawQuad;
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 int arbitrary_context_id1 = 12; 266 int arbitrary_context_id1 = 12;
266 int arbitrary_context_id2 = 57; 267 int arbitrary_context_id2 = 57;
267 int arbitrary_context_id3 = -503; 268 int arbitrary_context_id3 = -503;
268 int arbitrary_int = 5; 269 int arbitrary_int = 5;
269 SkColor arbitrary_color = SkColorSetARGB(25, 36, 47, 58); 270 SkColor arbitrary_color = SkColorSetARGB(25, 36, 47, 58);
270 SkXfermode::Mode arbitrary_blend_mode1 = SkXfermode::kScreen_Mode; 271 SkXfermode::Mode arbitrary_blend_mode1 = SkXfermode::kScreen_Mode;
271 SkXfermode::Mode arbitrary_blend_mode2 = SkXfermode::kLighten_Mode; 272 SkXfermode::Mode arbitrary_blend_mode2 = SkXfermode::kLighten_Mode;
272 SkXfermode::Mode arbitrary_blend_mode3 = SkXfermode::kOverlay_Mode; 273 SkXfermode::Mode arbitrary_blend_mode3 = SkXfermode::kOverlay_Mode;
273 IOSurfaceDrawQuad::Orientation arbitrary_orientation = 274 IOSurfaceDrawQuad::Orientation arbitrary_orientation =
274 IOSurfaceDrawQuad::UNFLIPPED; 275 IOSurfaceDrawQuad::UNFLIPPED;
275 ResourceProvider::ResourceId arbitrary_resourceid1 = 55; 276 ResourceId arbitrary_resourceid1 = 55;
276 ResourceProvider::ResourceId arbitrary_resourceid2 = 47; 277 ResourceId arbitrary_resourceid2 = 47;
277 ResourceProvider::ResourceId arbitrary_resourceid3 = 23; 278 ResourceId arbitrary_resourceid3 = 23;
278 ResourceProvider::ResourceId arbitrary_resourceid4 = 16; 279 ResourceId arbitrary_resourceid4 = 16;
279 SkScalar arbitrary_sigma = SkFloatToScalar(2.0f); 280 SkScalar arbitrary_sigma = SkFloatToScalar(2.0f);
280 YUVVideoDrawQuad::ColorSpace arbitrary_color_space = 281 YUVVideoDrawQuad::ColorSpace arbitrary_color_space =
281 YUVVideoDrawQuad::REC_601; 282 YUVVideoDrawQuad::REC_601;
282 283
283 RenderPassId child_id(30, 5); 284 RenderPassId child_id(30, 5);
284 RenderPassId root_id(10, 14); 285 RenderPassId root_id(10, 14);
285 286
286 FilterOperations arbitrary_filters1; 287 FilterOperations arbitrary_filters1;
287 arbitrary_filters1.Append(FilterOperation::CreateGrayscaleFilter( 288 arbitrary_filters1.Append(FilterOperation::CreateGrayscaleFilter(
288 arbitrary_float1)); 289 arbitrary_float1));
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 SoftwareFrameData frame_out; 754 SoftwareFrameData frame_out;
754 PickleIterator iter(msg); 755 PickleIterator iter(msg);
755 EXPECT_EQ( 756 EXPECT_EQ(
756 expect_read, 757 expect_read,
757 IPC::ParamTraits<SoftwareFrameData>::Read(&msg, &iter, &frame_out)); 758 IPC::ParamTraits<SoftwareFrameData>::Read(&msg, &iter, &frame_out));
758 } 759 }
759 } 760 }
760 761
761 } // namespace 762 } // namespace
762 } // namespace content 763 } // namespace content
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698