| 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 SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ | 5 #ifndef SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ |
| 6 #define SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ | 6 #define SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
| 14 #include "mojo/public/cpp/bindings/callback.h" | 14 #include "mojo/public/cpp/bindings/callback.h" |
| 15 #include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.
h" | 15 #include "mojo/services/native_viewport/interfaces/native_viewport.mojom.h" |
| 16 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" | 16 #include "mojo/services/surfaces/public/interfaces/display.mojom.h" |
| 17 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" | 17 #include "mojo/services/view_manager/public/interfaces/view_manager.mojom.h" |
| 18 #include "ui/gfx/rect.h" | 18 #include "ui/gfx/rect.h" |
| 19 | 19 |
| 20 namespace cc { | 20 namespace cc { |
| 21 class SurfaceIdAllocator; | 21 class SurfaceIdAllocator; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace mojo { | 24 namespace mojo { |
| 25 class ApplicationConnection; | 25 class ApplicationConnection; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 mojo::NativeViewportPtr native_viewport_; | 82 mojo::NativeViewportPtr native_viewport_; |
| 83 mojo::Closure native_viewport_closed_callback_; | 83 mojo::Closure native_viewport_closed_callback_; |
| 84 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_; | 84 base::WeakPtrFactory<DefaultDisplayManager> weak_factory_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager); | 86 DISALLOW_COPY_AND_ASSIGN(DefaultDisplayManager); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace view_manager | 89 } // namespace view_manager |
| 90 | 90 |
| 91 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ | 91 #endif // SERVICES_VIEW_MANAGER_DISPLAY_MANAGER_H_ |
| OLD | NEW |