| 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> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 BindingType type, | 50 BindingType type, |
| 51 ws::WindowServer* window_server, | 51 ws::WindowServer* window_server, |
| 52 ws::WindowTree* tree, | 52 ws::WindowTree* tree, |
| 53 mojom::WindowTreeRequest* tree_request, | 53 mojom::WindowTreeRequest* tree_request, |
| 54 mojom::WindowTreeClientPtr* client); | 54 mojom::WindowTreeClientPtr* client); |
| 55 | 55 |
| 56 // Called prior to a new WindowTree being created for a | 56 // Called prior to a new WindowTree being created for a |
| 57 // WindowManagerWindowTreeFactory. |automatically_create_display_roots| | 57 // WindowManagerWindowTreeFactory. |automatically_create_display_roots| |
| 58 // mirrors that of CreateWindowTree(). See it for details. | 58 // mirrors that of CreateWindowTree(). See it for details. |
| 59 virtual void OnWillCreateTreeForWindowManager( | 59 virtual void OnWillCreateTreeForWindowManager( |
| 60 bool automatically_create_display_roots); | 60 bool automatically_create_display_roots) = 0; |
| 61 | 61 |
| 62 protected: | 62 protected: |
| 63 virtual ~WindowServerDelegate() {} | 63 virtual ~WindowServerDelegate() {} |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace ws | 66 } // namespace ws |
| 67 } // namespace ui | 67 } // namespace ui |
| 68 | 68 |
| 69 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ | 69 #endif // SERVICES_UI_WS_WINDOW_SERVER_DELEGATE_H_ |
| OLD | NEW |