| 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/ws/ids.h" | 19 #include "services/ui/ws/ids.h" |
| 20 #include "ui/gfx/geometry/insets.h" | 20 #include "ui/gfx/geometry/insets.h" |
| 21 #include "ui/gfx/geometry/rect.h" | 21 #include "ui/gfx/geometry/rect.h" |
| 22 #include "ui/gfx/geometry/vector2d.h" | 22 #include "ui/gfx/geometry/vector2d.h" |
| 23 #include "ui/gfx/transform.h" | 23 #include "ui/gfx/transform.h" |
| 24 #include "ui/platform_window/text_input_state.h" | 24 #include "ui/platform_window/text_input_state.h" |
| 25 | 25 |
| 26 namespace gpu { | |
| 27 class GpuMemoryBufferManager; | |
| 28 } | |
| 29 | |
| 30 namespace ui { | 26 namespace ui { |
| 31 namespace ws { | 27 namespace ws { |
| 32 | 28 |
| 33 class ServerWindowDelegate; | 29 class ServerWindowDelegate; |
| 34 class ServerWindowObserver; | 30 class ServerWindowObserver; |
| 35 class ServerWindowCompositorFrameSinkManager; | 31 class ServerWindowCompositorFrameSinkManager; |
| 36 | 32 |
| 37 // Server side representation of a window. Delegate is informed of interesting | 33 // Server side representation of a window. Delegate is informed of interesting |
| 38 // events. | 34 // events. |
| 39 // | 35 // |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 259 |
| 264 base::ObserverList<ServerWindowObserver> observers_; | 260 base::ObserverList<ServerWindowObserver> observers_; |
| 265 | 261 |
| 266 DISALLOW_COPY_AND_ASSIGN(ServerWindow); | 262 DISALLOW_COPY_AND_ASSIGN(ServerWindow); |
| 267 }; | 263 }; |
| 268 | 264 |
| 269 } // namespace ws | 265 } // namespace ws |
| 270 } // namespace ui | 266 } // namespace ui |
| 271 | 267 |
| 272 #endif // SERVICES_UI_WS_SERVER_WINDOW_H_ | 268 #endif // SERVICES_UI_WS_SERVER_WINDOW_H_ |
| OLD | NEW |