| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_MUS_CLIENT_H_ | 5 #ifndef UI_VIEWS_MUS_MUS_CLIENT_H_ |
| 6 #define UI_VIEWS_MUS_MUS_CLIENT_H_ | 6 #define UI_VIEWS_MUS_MUS_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 MusClient( | 104 MusClient( |
| 105 service_manager::Connector* connector, | 105 service_manager::Connector* connector, |
| 106 const service_manager::Identity& identity, | 106 const service_manager::Identity& identity, |
| 107 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner = nullptr); | 107 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner = nullptr); |
| 108 | 108 |
| 109 // aura::WindowTreeClientDelegate: | 109 // aura::WindowTreeClientDelegate: |
| 110 void OnEmbed( | 110 void OnEmbed( |
| 111 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; | 111 std::unique_ptr<aura::WindowTreeHostMus> window_tree_host) override; |
| 112 void OnLostConnection(aura::WindowTreeClient* client) override; | 112 void OnLostConnection(aura::WindowTreeClient* client) override; |
| 113 void OnEmbedRootDestroyed(aura::Window* root) override; | 113 void OnEmbedRootDestroyed(aura::WindowTreeHostMus* window_tree_host) override; |
| 114 void OnPointerEventObserved(const ui::PointerEvent& event, | 114 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 115 aura::Window* target) override; | 115 aura::Window* target) override; |
| 116 aura::client::CaptureClient* GetCaptureClient() override; | 116 aura::client::CaptureClient* GetCaptureClient() override; |
| 117 aura::PropertyConverter* GetPropertyConverter() override; | 117 aura::PropertyConverter* GetPropertyConverter() override; |
| 118 | 118 |
| 119 // ScreenMusDelegate: | 119 // ScreenMusDelegate: |
| 120 void OnWindowManagerFrameValuesChanged() override; | 120 void OnWindowManagerFrameValuesChanged() override; |
| 121 gfx::Point GetCursorScreenPoint() override; | 121 gfx::Point GetCursorScreenPoint() override; |
| 122 aura::Window* GetWindowAtScreenPoint(const gfx::Point& point) override; | 122 aura::Window* GetWindowAtScreenPoint(const gfx::Point& point) override; |
| 123 | 123 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 143 std::unique_ptr<PointerWatcherEventRouter2> pointer_watcher_event_router_; | 143 std::unique_ptr<PointerWatcherEventRouter2> pointer_watcher_event_router_; |
| 144 | 144 |
| 145 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_; | 145 std::unique_ptr<aura::MusContextFactory> compositor_context_factory_; |
| 146 | 146 |
| 147 DISALLOW_COPY_AND_ASSIGN(MusClient); | 147 DISALLOW_COPY_AND_ASSIGN(MusClient); |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 } // namespace views | 150 } // namespace views |
| 151 | 151 |
| 152 #endif // UI_VIEWS_MUS_MUS_CLIENT_H_ | 152 #endif // UI_VIEWS_MUS_MUS_CLIENT_H_ |
| OLD | NEW |