| 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_WINDOW_SERVER_DELEGATE_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ | 6 #define SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "mojo/public/cpp/bindings/interface_request.h" | 13 #include "mojo/public/cpp/bindings/interface_request.h" |
| 14 #include "services/ui/common/types.h" | 14 #include "services/ui/common/types.h" |
| 15 #include "services/ui/public/interfaces/window_tree.mojom.h" | 15 #include "services/ui/public/interfaces/window_tree.mojom.h" |
| 16 | 16 |
| 17 namespace ui { | 17 namespace ui { |
| 18 | 18 |
| 19 namespace mojom { | 19 namespace mojom { |
| 20 class WindowManagerFactory; | |
| 21 class WindowTree; | 20 class WindowTree; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace ws { | 23 namespace ws { |
| 25 | 24 |
| 26 class Display; | 25 class Display; |
| 27 class ServerWindow; | |
| 28 class WindowServer; | 26 class WindowServer; |
| 29 class WindowTree; | 27 class WindowTree; |
| 30 class WindowTreeBinding; | 28 class WindowTreeBinding; |
| 31 | 29 |
| 32 class WindowServerDelegate { | 30 class WindowServerDelegate { |
| 33 public: | 31 public: |
| 34 enum BindingType { | 32 enum BindingType { |
| 35 EMBED, | 33 EMBED, |
| 36 WINDOW_MANAGER, | 34 WINDOW_MANAGER, |
| 37 }; | 35 }; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 60 mojom::WindowTreeClientPtr* client); | 58 mojom::WindowTreeClientPtr* client); |
| 61 | 59 |
| 62 protected: | 60 protected: |
| 63 virtual ~WindowServerDelegate() {} | 61 virtual ~WindowServerDelegate() {} |
| 64 }; | 62 }; |
| 65 | 63 |
| 66 } // namespace ws | 64 } // namespace ws |
| 67 } // namespace ui | 65 } // namespace ui |
| 68 | 66 |
| 69 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ | 67 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ |
| OLD | NEW |