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

Side by Side Diff: components/mus/ws/server_window_surface.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mus/ws/server_window_surface.h" 5 #include "components/mus/ws/server_window_surface.h"
6 6
7 #include "cc/output/compositor_frame.h" 7 #include "cc/output/compositor_frame.h"
8 #include "cc/quads/shared_quad_state.h" 8 #include "cc/quads/shared_quad_state.h"
9 #include "cc/quads/surface_draw_quad.h" 9 #include "cc/quads/surface_draw_quad.h"
10 #include "components/mus/surfaces/surfaces_state.h" 10 #include "components/mus/surfaces/surfaces_state.h"
11 #include "components/mus/ws/server_window.h" 11 #include "components/mus/ws/server_window.h"
12 #include "components/mus/ws/server_window_delegate.h" 12 #include "components/mus/ws/server_window_delegate.h"
13 #include "components/mus/ws/server_window_surface_manager.h" 13 #include "components/mus/ws/server_window_surface_manager.h"
14 #include "mojo/converters/geometry/geometry_type_converters.h"
15 #include "mojo/converters/surfaces/surfaces_type_converters.h" 14 #include "mojo/converters/surfaces/surfaces_type_converters.h"
15 #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
16 16
17 namespace mus { 17 namespace mus {
18 namespace ws { 18 namespace ws {
19 namespace { 19 namespace {
20 20
21 void CallCallback(const mojo::Closure& callback, cc::SurfaceDrawStatus status) { 21 void CallCallback(const mojo::Closure& callback, cc::SurfaceDrawStatus status) {
22 callback.Run(); 22 callback.Run();
23 } 23 }
24 24
25 } // namespace 25 } // namespace
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 mojo::Array<mojom::ReturnedResourcePtr>::From(resources)); 160 mojo::Array<mojom::ReturnedResourcePtr>::From(resources));
161 } 161 }
162 162
163 void ServerWindowSurface::SetBeginFrameSource( 163 void ServerWindowSurface::SetBeginFrameSource(
164 cc::BeginFrameSource* begin_frame_source) { 164 cc::BeginFrameSource* begin_frame_source) {
165 // TODO(tansell): Implement this. 165 // TODO(tansell): Implement this.
166 } 166 }
167 167
168 } // namespace ws 168 } // namespace ws
169 } // namespace mus 169 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698