| 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_UI_PUBLIC_CPP_WINDOW_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "mojo/public/cpp/bindings/array.h" | 14 #include "mojo/public/cpp/bindings/array.h" |
| 15 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" | 15 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" |
| 16 #include "services/ui/common/types.h" | 16 #include "services/ui/common/types.h" |
| 17 #include "services/ui/public/cpp/surface_id_handler.h" | 17 #include "services/ui/public/cpp/surface_id_handler.h" |
| 18 #include "services/ui/public/cpp/window_compositor_frame_sink.h" | 18 #include "services/ui/public/cpp/window_compositor_frame_sink.h" |
| 19 #include "services/ui/public/interfaces/mus_constants.mojom.h" | 19 #include "services/ui/public/interfaces/mus_constants.mojom.h" |
| 20 #include "services/ui/public/interfaces/window_tree.mojom.h" | 20 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 21 #include "ui/gfx/geometry/insets.h" | 21 #include "ui/gfx/geometry/insets.h" |
| 22 #include "ui/gfx/geometry/rect.h" | 22 #include "ui/gfx/geometry/rect.h" |
| 23 | 23 |
| 24 namespace gfx { | |
| 25 class Size; | |
| 26 } | |
| 27 | |
| 28 namespace gpu { | 24 namespace gpu { |
| 29 class GpuMemoryBufferManager; | 25 class GpuMemoryBufferManager; |
| 30 } | 26 } |
| 31 | 27 |
| 32 namespace ui { | 28 namespace ui { |
| 33 | 29 |
| 34 class InputEventHandler; | 30 class InputEventHandler; |
| 35 class ServiceProviderImpl; | |
| 36 class SurfaceIdHandler; | 31 class SurfaceIdHandler; |
| 37 class WindowCompositorFrameSinkBinding; | 32 class WindowCompositorFrameSinkBinding; |
| 38 class WindowObserver; | 33 class WindowObserver; |
| 39 class WindowSurface; | |
| 40 class WindowDropTarget; | 34 class WindowDropTarget; |
| 41 class WindowTreeClient; | 35 class WindowTreeClient; |
| 42 class WindowTreeClientPrivate; | 36 class WindowTreeClientPrivate; |
| 43 | 37 |
| 44 namespace { | 38 namespace { |
| 45 class OrderChangedNotifier; | 39 class OrderChangedNotifier; |
| 46 } | 40 } |
| 47 | 41 |
| 48 // Defined in window_property.h (which we do not include) | 42 // Defined in window_property.h (which we do not include) |
| 49 template <typename T> | 43 template <typename T> |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 std::map<const void*, Value> prop_map_; | 406 std::map<const void*, Value> prop_map_; |
| 413 | 407 |
| 414 std::unique_ptr<SurfaceInfo> surface_info_; | 408 std::unique_ptr<SurfaceInfo> surface_info_; |
| 415 | 409 |
| 416 DISALLOW_COPY_AND_ASSIGN(Window); | 410 DISALLOW_COPY_AND_ASSIGN(Window); |
| 417 }; | 411 }; |
| 418 | 412 |
| 419 } // namespace ui | 413 } // namespace ui |
| 420 | 414 |
| 421 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_H_ | 415 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_H_ |
| OLD | NEW |