| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 private: | 58 private: |
| 59 explicit WindowManagerConnection(shell::Connector* connector); | 59 explicit WindowManagerConnection(shell::Connector* connector); |
| 60 ~WindowManagerConnection() override; | 60 ~WindowManagerConnection() override; |
| 61 | 61 |
| 62 // mus::WindowTreeDelegate: | 62 // mus::WindowTreeDelegate: |
| 63 void OnEmbed(mus::Window* root) override; | 63 void OnEmbed(mus::Window* root) override; |
| 64 void OnConnectionLost(mus::WindowTreeConnection* connection) override; | 64 void OnConnectionLost(mus::WindowTreeConnection* connection) override; |
| 65 | 65 |
| 66 // ScreenMusDelegate: | 66 // ScreenMusDelegate: |
| 67 void OnWindowManagerFrameValuesChanged() override; | 67 void OnWindowManagerFrameValuesChanged() override; |
| 68 gfx::Point GetCursorScreenPoint() override; |
| 68 | 69 |
| 69 shell::Connector* connector_; | 70 shell::Connector* connector_; |
| 70 std::unique_ptr<ScreenMus> screen_; | 71 std::unique_ptr<ScreenMus> screen_; |
| 71 std::unique_ptr<mus::WindowTreeConnection> window_tree_connection_; | 72 std::unique_ptr<mus::WindowTreeConnection> window_tree_connection_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); | 74 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace views | 77 } // namespace views |
| 77 | 78 |
| 78 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ | 79 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ |
| OLD | NEW |