| 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_WS_SERVER_WINDOW_H_ | 5 #ifndef SERVICES_UI_WS_SERVER_WINDOW_H_ |
| 6 #define SERVICES_UI_WS_SERVER_WINDOW_H_ | 6 #define SERVICES_UI_WS_SERVER_WINDOW_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/macros.h" | 15 #include "base/macros.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "mojo/public/cpp/bindings/binding.h" | 17 #include "mojo/public/cpp/bindings/binding.h" |
| 18 #include "services/ui/public/interfaces/window_tree.mojom.h" | 18 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 19 #include "services/ui/surfaces/surfaces_context_provider.h" |
| 19 #include "services/ui/ws/ids.h" | 20 #include "services/ui/ws/ids.h" |
| 20 #include "services/ui/ws/server_window_compositor_frame_sink.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 #include "ui/gfx/geometry/vector2d.h" | 23 #include "ui/gfx/geometry/vector2d.h" |
| 24 #include "ui/gfx/transform.h" | 24 #include "ui/gfx/transform.h" |
| 25 #include "ui/platform_window/text_input_state.h" | 25 #include "ui/platform_window/text_input_state.h" |
| 26 | 26 |
| 27 namespace gpu { |
| 28 class GpuMemoryBufferManager; |
| 29 } |
| 30 |
| 27 namespace ui { | 31 namespace ui { |
| 28 namespace ws { | 32 namespace ws { |
| 29 | 33 |
| 30 class ServerWindowDelegate; | 34 class ServerWindowDelegate; |
| 31 class ServerWindowObserver; | 35 class ServerWindowObserver; |
| 32 class ServerWindowCompositorFrameSinkManager; | 36 class ServerWindowCompositorFrameSinkManager; |
| 33 | 37 |
| 34 // Server side representation of a window. Delegate is informed of interesting | 38 // Server side representation of a window. Delegate is informed of interesting |
| 35 // events. | 39 // events. |
| 36 // | 40 // |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 266 |
| 263 base::ObserverList<ServerWindowObserver> observers_; | 267 base::ObserverList<ServerWindowObserver> observers_; |
| 264 | 268 |
| 265 DISALLOW_COPY_AND_ASSIGN(ServerWindow); | 269 DISALLOW_COPY_AND_ASSIGN(ServerWindow); |
| 266 }; | 270 }; |
| 267 | 271 |
| 268 } // namespace ws | 272 } // namespace ws |
| 269 } // namespace ui | 273 } // namespace ui |
| 270 | 274 |
| 271 #endif // SERVICES_UI_WS_SERVER_WINDOW_H_ | 275 #endif // SERVICES_UI_WS_SERVER_WINDOW_H_ |
| OLD | NEW |