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

Side by Side Diff: examples/surfaces_app/child_impl.h

Issue 882083003: Remove mojo.SurfacesService interface in favor of mojo.Surface directly (Closed) Base URL: git@github.com:domokit/mojo.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 #ifndef EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ 5 #ifndef EXAMPLES_SURFACES_APP_CHILD_IMPL_H_
6 #define EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ 6 #define EXAMPLES_SURFACES_APP_CHILD_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "cc/surfaces/surface_id.h" 11 #include "cc/surfaces/surface_id.h"
12 #include "cc/surfaces/surface_id_allocator.h" 12 #include "cc/surfaces/surface_id_allocator.h"
13 #include "examples/surfaces_app/child.mojom.h" 13 #include "examples/surfaces_app/child.mojom.h"
14 #include "mojo/public/cpp/bindings/string.h" 14 #include "mojo/public/cpp/bindings/string.h"
15 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h" 15 #include "mojo/services/surfaces/public/interfaces/surface_id.mojom.h"
16 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h" 16 #include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
17 #include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
18 #include "third_party/skia/include/core/SkColor.h" 17 #include "third_party/skia/include/core/SkColor.h"
19 #include "ui/gfx/size.h" 18 #include "ui/gfx/size.h"
20 19
21 namespace cc { 20 namespace cc {
22 class CompositorFrame; 21 class CompositorFrame;
23 } 22 }
24 23
25 namespace mojo { 24 namespace mojo {
26 25
27 class ApplicationConnection; 26 class ApplicationConnection;
(...skipping 27 matching lines...) Expand all
55 SurfacePtr surface_; 54 SurfacePtr surface_;
56 uint32_t id_namespace_; 55 uint32_t id_namespace_;
57 56
58 DISALLOW_COPY_AND_ASSIGN(ChildImpl); 57 DISALLOW_COPY_AND_ASSIGN(ChildImpl);
59 }; 58 };
60 59
61 } // namespace examples 60 } // namespace examples
62 } // namespace mojo 61 } // namespace mojo
63 62
64 #endif // EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ 63 #endif // EXAMPLES_SURFACES_APP_CHILD_IMPL_H_
OLDNEW
« no previous file with comments | « examples/bitmap_uploader/bitmap_uploader.h ('k') | mojo/services/surfaces/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698