| 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 SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ | 5 #ifndef SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
| 6 #define SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ | 6 #define SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void ScheduleInputEventTimeout(WindowTree* tree); | 208 void ScheduleInputEventTimeout(WindowTree* tree); |
| 209 | 209 |
| 210 // EventDispatcherDelegate: | 210 // EventDispatcherDelegate: |
| 211 void OnAccelerator(uint32_t accelerator_id, | 211 void OnAccelerator(uint32_t accelerator_id, |
| 212 const ui::Event& event, | 212 const ui::Event& event, |
| 213 AcceleratorPhase phase) override; | 213 AcceleratorPhase phase) override; |
| 214 void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override; | 214 void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override; |
| 215 ServerWindow* GetFocusedWindowForEventDispatcher() override; | 215 ServerWindow* GetFocusedWindowForEventDispatcher() override; |
| 216 void SetNativeCapture(ServerWindow* window) override; | 216 void SetNativeCapture(ServerWindow* window) override; |
| 217 void ReleaseNativeCapture() override; | 217 void ReleaseNativeCapture() override; |
| 218 void UpdateNativeCursorFromDispatcher() override; |
| 218 void OnCaptureChanged(ServerWindow* new_capture, | 219 void OnCaptureChanged(ServerWindow* new_capture, |
| 219 ServerWindow* old_capture) override; | 220 ServerWindow* old_capture) override; |
| 220 void OnMouseCursorLocationChanged(const gfx::Point& point) override; | 221 void OnMouseCursorLocationChanged(const gfx::Point& point) override; |
| 221 void DispatchInputEventToWindow(ServerWindow* target, | 222 void DispatchInputEventToWindow(ServerWindow* target, |
| 222 ClientSpecificId client_id, | 223 ClientSpecificId client_id, |
| 223 const ui::Event& event, | 224 const ui::Event& event, |
| 224 Accelerator* accelerator) override; | 225 Accelerator* accelerator) override; |
| 225 ClientSpecificId GetEventTargetClientId(const ServerWindow* window, | 226 ClientSpecificId GetEventTargetClientId(const ServerWindow* window, |
| 226 bool in_nonclient_area) override; | 227 bool in_nonclient_area) override; |
| 227 ServerWindow* GetRootWindowContaining(gfx::Point* location) override; | 228 ServerWindow* GetRootWindowContaining(gfx::Point* location) override; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 267 |
| 267 base::WeakPtrFactory<WindowManagerState> weak_factory_; | 268 base::WeakPtrFactory<WindowManagerState> weak_factory_; |
| 268 | 269 |
| 269 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); | 270 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); |
| 270 }; | 271 }; |
| 271 | 272 |
| 272 } // namespace ws | 273 } // namespace ws |
| 273 } // namespace ui | 274 } // namespace ui |
| 274 | 275 |
| 275 #endif // SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ | 276 #endif // SERVICES_UI_WS_WINDOW_MANAGER_STATE_H_ |
| OLD | NEW |