| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ | 5 #ifndef COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ |
| 6 #define COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ | 6 #define COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 ~ForwardingWindowManager() override; | 23 ~ForwardingWindowManager() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // Returns the WindowManager of the active display. | 26 // Returns the WindowManager of the active display. |
| 27 mojom::WindowManager* GetActiveWindowManager(); | 27 mojom::WindowManager* GetActiveWindowManager(); |
| 28 | 28 |
| 29 // mojom::WindowManager: | 29 // mojom::WindowManager: |
| 30 void OpenWindow( | 30 void OpenWindow( |
| 31 mus::mojom::WindowTreeClientPtr client, | 31 mus::mojom::WindowTreeClientPtr client, |
| 32 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; | 32 mojo::Map<mojo::String, mojo::Array<uint8_t>> properties) override; |
| 33 void GetConfig(const GetConfigCallback& callback) override; | |
| 34 | 33 |
| 35 ConnectionManager* connection_manager_; | 34 ConnectionManager* connection_manager_; |
| 36 | 35 |
| 37 DISALLOW_COPY_AND_ASSIGN(ForwardingWindowManager); | 36 DISALLOW_COPY_AND_ASSIGN(ForwardingWindowManager); |
| 38 }; | 37 }; |
| 39 | 38 |
| 40 } // namespace ws | 39 } // namespace ws |
| 41 } // namespace mus | 40 } // namespace mus |
| 42 | 41 |
| 43 #endif // COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ | 42 #endif // COMPONENTS_MUS_WS_FORWARDING_WINDOW_MANAGER_H_ |
| OLD | NEW |