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

Side by Side Diff: cc/render_pass_unittest.cc

Issue 11474050: cc: Unify namespaces for all test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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
« no previous file with comments | « cc/picture_layer_tiling_unittest.cc ('k') | cc/resource_update_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "cc/render_pass.h" 5 #include "cc/render_pass.h"
6 6
7 #include <public/WebFilterOperations.h> 7 #include <public/WebFilterOperations.h>
8 8
9 #include "cc/checkerboard_draw_quad.h" 9 #include "cc/checkerboard_draw_quad.h"
10 #include "cc/math_util.h" 10 #include "cc/math_util.h"
11 #include "cc/test/geometry_test_utils.h" 11 #include "cc/test/geometry_test_utils.h"
12 #include "cc/test/render_pass_test_common.h" 12 #include "cc/test/render_pass_test_common.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/skia/include/effects/SkBlurImageFilter.h" 14 #include "third_party/skia/include/effects/SkBlurImageFilter.h"
15 #include "ui/gfx/transform.h" 15 #include "ui/gfx/transform.h"
16 16
17 using WebKit::WebFilterOperation; 17 using WebKit::WebFilterOperation;
18 using WebKit::WebFilterOperations; 18 using WebKit::WebFilterOperations;
19 using WebKitTests::TestRenderPass; 19 using cc::TestRenderPass;
20 20
21 namespace cc { 21 namespace cc {
22 namespace { 22 namespace {
23 23
24 struct RenderPassSize { 24 struct RenderPassSize {
25 // If you add a new field to this class, make sure to add it to the copy() t ests. 25 // If you add a new field to this class, make sure to add it to the copy() t ests.
26 RenderPass::Id m_id; 26 RenderPass::Id m_id;
27 QuadList m_quadList; 27 QuadList m_quadList;
28 SharedQuadStateList m_sharedQuadStateList; 28 SharedQuadStateList m_sharedQuadStateList;
29 gfx::Transform m_transformToRootTarget; 29 gfx::Transform m_transformToRootTarget;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 EXPECT_EQ(pass->filters, copy->filters); 83 EXPECT_EQ(pass->filters, copy->filters);
84 EXPECT_EQ(pass->filter, copy->filter); 84 EXPECT_EQ(pass->filter, copy->filter);
85 EXPECT_EQ(pass->background_filters, copy->background_filters); 85 EXPECT_EQ(pass->background_filters, copy->background_filters);
86 EXPECT_EQ(0u, copy->quad_list.size()); 86 EXPECT_EQ(0u, copy->quad_list.size());
87 87
88 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); 88 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass));
89 } 89 }
90 90
91 } // namespace 91 } // namespace
92 } // namespace cc 92 } // namespace cc
OLDNEW
« no previous file with comments | « cc/picture_layer_tiling_unittest.cc ('k') | cc/resource_update_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698