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

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

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 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 | « examples/surfaces_app/child_impl.cc ('k') | examples/surfaces_app/embedder.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 #ifndef EXAMPLES_SURFACES_APP_EMBEDDER_H_ 5 #ifndef EXAMPLES_SURFACES_APP_EMBEDDER_H_
6 #define EXAMPLES_SURFACES_APP_EMBEDDER_H_ 6 #define EXAMPLES_SURFACES_APP_EMBEDDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/surfaces/surface_id.h" 9 #include "cc/surfaces/surface_id.h"
10 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" 10 #include "mojo/services/surfaces/interfaces/display.mojom.h"
11 #include "ui/gfx/size.h" 11 #include "ui/gfx/size.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace examples { 14 namespace examples {
15 15
16 // Simple example of a surface embedder that embeds two other surfaces. 16 // Simple example of a surface embedder that embeds two other surfaces.
17 class Embedder { 17 class Embedder {
18 public: 18 public:
19 explicit Embedder(Display* display); 19 explicit Embedder(Display* display);
20 ~Embedder(); 20 ~Embedder();
(...skipping 10 matching lines...) Expand all
31 Display* display_; 31 Display* display_;
32 bool frame_pending_; 32 bool frame_pending_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(Embedder); 34 DISALLOW_COPY_AND_ASSIGN(Embedder);
35 }; 35 };
36 36
37 } // namespace examples 37 } // namespace examples
38 } // namespace mojo 38 } // namespace mojo
39 39
40 #endif // EXAMPLES_SURFACES_APP_EMBEDDER_H_ 40 #endif // EXAMPLES_SURFACES_APP_EMBEDDER_H_
OLDNEW
« no previous file with comments | « examples/surfaces_app/child_impl.cc ('k') | examples/surfaces_app/embedder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698