OLD | NEW |
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 #ifndef COMPONENTS_VIEW_MANAGER_SURFACES_DISPLAY_IMPL_H_ | 5 #ifndef COMPONENTS_VIEW_MANAGER_SURFACES_DISPLAY_IMPL_H_ |
6 #define COMPONENTS_VIEW_MANAGER_SURFACES_DISPLAY_IMPL_H_ | 6 #define COMPONENTS_VIEW_MANAGER_SURFACES_DISPLAY_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/surfaces/display_client.h" | 9 #include "cc/surfaces/display_client.h" |
10 #include "cc/surfaces/surface_factory.h" | 10 #include "cc/surfaces/surface_factory.h" |
11 #include "cc/surfaces/surface_factory_client.h" | 11 #include "cc/surfaces/surface_factory_client.h" |
12 #include "components/view_manager/public/interfaces/surfaces.mojom.h" | |
13 #include "components/view_manager/surfaces/surfaces_context_provider.h" | 12 #include "components/view_manager/surfaces/surfaces_context_provider.h" |
14 #include "components/view_manager/surfaces/surfaces_context_provider_delegate.h" | 13 #include "components/view_manager/surfaces/surfaces_context_provider_delegate.h" |
15 #include "components/view_manager/surfaces/surfaces_state.h" | 14 #include "components/view_manager/surfaces/surfaces_state.h" |
16 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" | 15 #include "third_party/mojo/src/mojo/public/cpp/bindings/strong_binding.h" |
17 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
18 | 17 |
19 namespace cc { | 18 namespace cc { |
20 class Display; | 19 class Display; |
21 class SurfaceFactory; | 20 class SurfaceFactory; |
22 } | 21 } |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 base::Closure pending_callback_; | 73 base::Closure pending_callback_; |
75 | 74 |
76 scoped_ptr<cc::Display> display_; | 75 scoped_ptr<cc::Display> display_; |
77 | 76 |
78 DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient); | 77 DISALLOW_COPY_AND_ASSIGN(TopLevelDisplayClient); |
79 }; | 78 }; |
80 | 79 |
81 } // namespace surfaces | 80 } // namespace surfaces |
82 | 81 |
83 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_DISPLAY_IMPL_H_ | 82 #endif // COMPONENTS_VIEW_MANAGER_SURFACES_DISPLAY_IMPL_H_ |
OLD | NEW |