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

Side by Side Diff: mojo/examples/surfaces_app/embedder.cc

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the directory and component structures and target names. Created 6 years, 2 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 | « mojo/examples/surfaces_app/child_impl.cc ('k') | mojo/examples/surfaces_app/surfaces_app.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 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/examples/surfaces_app/embedder.h" 5 #include "mojo/examples/surfaces_app/embedder.h"
6 6
7 #include "cc/output/compositor_frame.h" 7 #include "cc/output/compositor_frame.h"
8 #include "cc/output/delegated_frame_data.h" 8 #include "cc/output/delegated_frame_data.h"
9 #include "cc/quads/render_pass.h" 9 #include "cc/quads/render_pass.h"
10 #include "cc/quads/solid_color_draw_quad.h" 10 #include "cc/quads/solid_color_draw_quad.h"
11 #include "cc/quads/surface_draw_quad.h" 11 #include "cc/quads/surface_draw_quad.h"
12 #include "mojo/converters/surfaces/surfaces_type_converters.h"
12 #include "mojo/examples/surfaces_app/surfaces_util.h" 13 #include "mojo/examples/surfaces_app/surfaces_util.h"
13 #include "mojo/services/public/cpp/surfaces/surfaces_type_converters.h"
14 #include "mojo/services/public/interfaces/surfaces/surface_id.mojom.h" 14 #include "mojo/services/public/interfaces/surfaces/surface_id.mojom.h"
15 #include "ui/gfx/rect.h" 15 #include "ui/gfx/rect.h"
16 #include "ui/gfx/size.h" 16 #include "ui/gfx/size.h"
17 #include "ui/gfx/transform.h" 17 #include "ui/gfx/transform.h"
18 18
19 namespace mojo { 19 namespace mojo {
20 namespace examples { 20 namespace examples {
21 21
22 using cc::RenderPass; 22 using cc::RenderPass;
23 using cc::RenderPassId; 23 using cc::RenderPassId;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 scoped_ptr<CompositorFrame> frame(new CompositorFrame); 89 scoped_ptr<CompositorFrame> frame(new CompositorFrame);
90 frame->delegated_frame_data = delegated_frame_data.Pass(); 90 frame->delegated_frame_data = delegated_frame_data.Pass();
91 91
92 surface_->SubmitFrame(mojo::SurfaceId::From(id_), 92 surface_->SubmitFrame(mojo::SurfaceId::From(id_),
93 mojo::Frame::From(*frame)); 93 mojo::Frame::From(*frame));
94 } 94 }
95 95
96 } // namespace examples 96 } // namespace examples
97 } // namespace mojo 97 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/examples/surfaces_app/child_impl.cc ('k') | mojo/examples/surfaces_app/surfaces_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698