| 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 <map> | 10 #include <map> |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 // ui::WindowTreeClientDelegate: | 90 // ui::WindowTreeClientDelegate: |
| 91 void OnEmbed(ui::Window* root) override; | 91 void OnEmbed(ui::Window* root) override; |
| 92 void OnLostConnection(ui::WindowTreeClient* client) override; | 92 void OnLostConnection(ui::WindowTreeClient* client) override; |
| 93 void OnEmbedRootDestroyed(ui::Window* root) override; | 93 void OnEmbedRootDestroyed(ui::Window* root) override; |
| 94 void OnPointerEventObserved(const ui::PointerEvent& event, | 94 void OnPointerEventObserved(const ui::PointerEvent& event, |
| 95 ui::Window* target) override; | 95 ui::Window* target) override; |
| 96 | 96 |
| 97 // ScreenMusDelegate: | 97 // ScreenMusDelegate: |
| 98 void OnWindowManagerFrameValuesChanged() override; | 98 void OnWindowManagerFrameValuesChanged() override; |
| 99 gfx::Point GetCursorScreenPoint() override; | 99 gfx::Point GetCursorScreenPoint() override; |
| 100 ui::Window* GetWindowAtScreenPoint(const gfx::Point& point) override; |
| 100 | 101 |
| 101 // ui:OSExchangeDataProviderFactory::Factory: | 102 // ui:OSExchangeDataProviderFactory::Factory: |
| 102 std::unique_ptr<OSExchangeData::Provider> BuildProvider() override; | 103 std::unique_ptr<OSExchangeData::Provider> BuildProvider() override; |
| 103 | 104 |
| 104 shell::Connector* connector_; | 105 shell::Connector* connector_; |
| 105 shell::Identity identity_; | 106 shell::Identity identity_; |
| 106 std::unique_ptr<ScreenMus> screen_; | 107 std::unique_ptr<ScreenMus> screen_; |
| 107 std::unique_ptr<ui::WindowTreeClient> client_; | 108 std::unique_ptr<ui::WindowTreeClient> client_; |
| 108 std::unique_ptr<ui::GpuService> gpu_service_; | 109 std::unique_ptr<ui::GpuService> gpu_service_; |
| 109 std::unique_ptr<PointerWatcherEventRouter> pointer_watcher_event_router_; | 110 std::unique_ptr<PointerWatcherEventRouter> pointer_watcher_event_router_; |
| 110 std::unique_ptr<SurfaceContextFactory> compositor_context_factory_; | 111 std::unique_ptr<SurfaceContextFactory> compositor_context_factory_; |
| 111 | 112 |
| 112 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); | 113 DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection); |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namespace views | 116 } // namespace views |
| 116 | 117 |
| 117 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ | 118 #endif // UI_VIEWS_MUS_WINDOW_MANAGER_CONNECTION_H_ |
| OLD | NEW |