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

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

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
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"
8 #include "mojo/converters/transform/transform_type_converters.h" 7 #include "mojo/converters/transform/transform_type_converters.h"
8 #include "ui/gfx/geometry/mojo/geometry_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 using mus::mojom::Pass; 13 using mus::mojom::Pass;
14 using mus::mojom::PassPtr; 14 using mus::mojom::PassPtr;
15 using mus::mojom::RenderPassId; 15 using mus::mojom::RenderPassId;
16 using mus::mojom::SharedQuadState; 16 using mus::mojom::SharedQuadState;
17 using mus::mojom::SharedQuadStatePtr; 17 using mus::mojom::SharedQuadStatePtr;
18 18
(...skipping 19 matching lines...) Expand all
38 render_pass_id.index = id; 38 render_pass_id.index = id;
39 pass->id = render_pass_id.Clone(); 39 pass->id = render_pass_id.Clone();
40 pass->output_rect = Rect::From(rect); 40 pass->output_rect = Rect::From(rect);
41 pass->damage_rect = Rect::From(rect); 41 pass->damage_rect = Rect::From(rect);
42 pass->transform_to_root_target = Transform::From(gfx::Transform()); 42 pass->transform_to_root_target = Transform::From(gfx::Transform());
43 pass->has_transparent_background = false; 43 pass->has_transparent_background = false;
44 return pass; 44 return pass;
45 } 45 }
46 46
47 } // namespace mojo 47 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698