| OLD | NEW |
| 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 MOJO_EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ | 5 #ifndef EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ |
| 6 #define MOJO_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 "mojo/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/public/interfaces/surfaces/surface_id.mojom.h" | 15 #include "mojo/services/public/interfaces/surfaces/surface_id.mojom.h" |
| 16 #include "mojo/services/public/interfaces/surfaces/surfaces.mojom.h" | 16 #include "mojo/services/public/interfaces/surfaces/surfaces.mojom.h" |
| 17 #include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h" | 17 #include "mojo/services/public/interfaces/surfaces/surfaces_service.mojom.h" |
| 18 #include "third_party/skia/include/core/SkColor.h" | 18 #include "third_party/skia/include/core/SkColor.h" |
| 19 #include "ui/gfx/size.h" | 19 #include "ui/gfx/size.h" |
| 20 | 20 |
| 21 namespace cc { | 21 namespace cc { |
| 22 class CompositorFrame; | 22 class CompositorFrame; |
| 23 } | 23 } |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 cc::SurfaceId id_; | 65 cc::SurfaceId id_; |
| 66 mojo::Callback<void(SurfaceIdPtr id)> produce_callback_; | 66 mojo::Callback<void(SurfaceIdPtr id)> produce_callback_; |
| 67 base::WeakPtrFactory<ChildImpl> weak_factory_; | 67 base::WeakPtrFactory<ChildImpl> weak_factory_; |
| 68 | 68 |
| 69 DISALLOW_COPY_AND_ASSIGN(ChildImpl); | 69 DISALLOW_COPY_AND_ASSIGN(ChildImpl); |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 } // namespace examples | 72 } // namespace examples |
| 73 } // namespace mojo | 73 } // namespace mojo |
| 74 | 74 |
| 75 #endif // MOJO_EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ | 75 #endif // EXAMPLES_SURFACES_APP_CHILD_IMPL_H_ |
| OLD | NEW |