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

Side by Side Diff: mojo/converters/surfaces/surfaces_utils.cc

Issue 950573002: Rename transform_converters.* to transform_type_converters.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/converters/surfaces/surfaces_utils.h" 5 #include "mojo/converters/surfaces/surfaces_utils.h"
6 6
7 #include "mojo/converters/geometry/geometry_type_converters.h" 7 #include "mojo/converters/geometry/geometry_type_converters.h"
8 #include "mojo/converters/transform/transform_converters.h" 8 #include "mojo/converters/transform/transform_type_converters.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
11 #include "ui/gfx/transform.h" 11 #include "ui/gfx/transform.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 14
15 SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) { 15 SharedQuadStatePtr CreateDefaultSQS(const gfx::Size& size) {
16 SharedQuadStatePtr sqs = SharedQuadState::New(); 16 SharedQuadStatePtr sqs = SharedQuadState::New();
17 sqs->content_to_target_transform = Transform::From(gfx::Transform()); 17 sqs->content_to_target_transform = Transform::From(gfx::Transform());
18 sqs->content_bounds = Size::From(size); 18 sqs->content_bounds = Size::From(size);
(...skipping 10 matching lines...) Expand all
29 PassPtr pass = Pass::New(); 29 PassPtr pass = Pass::New();
30 pass->id = id; 30 pass->id = id;
31 pass->output_rect = Rect::From(rect); 31 pass->output_rect = Rect::From(rect);
32 pass->damage_rect = Rect::From(rect); 32 pass->damage_rect = Rect::From(rect);
33 pass->transform_to_root_target = Transform::From(gfx::Transform()); 33 pass->transform_to_root_target = Transform::From(gfx::Transform());
34 pass->has_transparent_background = false; 34 pass->has_transparent_background = false;
35 return pass.Pass(); 35 return pass.Pass();
36 } 36 }
37 37
38 } // namespace mojo 38 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/converters/surfaces/surfaces_type_converters.cc ('k') | mojo/converters/surfaces/tests/surface_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698