| 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 UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ | 5 #ifndef UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ |
| 6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ | 6 #define UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 WindowManagerConnection(shell::Connector* connector, | 61 WindowManagerConnection(shell::Connector* connector, |
| 62 const shell::Identity& identity); | 62 const shell::Identity& identity); |
| 63 ~WindowManagerConnection() override; | 63 ~WindowManagerConnection() override; |
| 64 | 64 |
| 65 // mus::WindowTreeDelegate: | 65 // mus::WindowTreeDelegate: |
| 66 void OnEmbed(mus::Window* root) override; | 66 void OnEmbed(mus::Window* root) override; |
| 67 void OnConnectionLost(mus::WindowTreeConnection* connection) override; | 67 void OnConnectionLost(mus::WindowTreeConnection* connection) override; |
| 68 | 68 |
| 69 // ScreenMusDelegate: | 69 // ScreenMusDelegate: |
| 70 void OnWindowManagerFrameValuesChanged() override; | 70 void OnWindowManagerFrameValuesChanged() override; |
| 71 gfx::Point GetCursorScreenPoint() override; |
| 71 | 72 |
| 72 shell::Connector* connector_; | 73 shell::Connector* connector_; |
| 73 shell::Identity identity_; | 74 shell::Identity identity_; |
| 74 std::unique_ptr<ScreenMus> screen_; | 75 std::unique_ptr<ScreenMus> screen_; |
| 75 std::unique_ptr<mus::WindowTreeConnection> window_tree_connection_; | 76 std::unique_ptr<mus::WindowTreeConnection> window_tree_connection_; |
| 76 | 77 |
| 77 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); | 78 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace views | 81 } // namespace views |
| 81 | 82 |
| 82 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ | 83 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ |
| OLD | NEW |