| 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 COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ | 5 #ifndef COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ |
| 6 #define COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ | 6 #define COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 void OnAccelerator(uint32_t accelerator_id, const ui::Event& event) override; | 157 void OnAccelerator(uint32_t accelerator_id, const ui::Event& event) override; |
| 158 void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override; | 158 void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override; |
| 159 ServerWindow* GetFocusedWindowForEventDispatcher() override; | 159 ServerWindow* GetFocusedWindowForEventDispatcher() override; |
| 160 void SetNativeCapture() override; | 160 void SetNativeCapture() override; |
| 161 void ReleaseNativeCapture() override; | 161 void ReleaseNativeCapture() override; |
| 162 void OnServerWindowCaptureLost(ServerWindow* window) override; | 162 void OnServerWindowCaptureLost(ServerWindow* window) override; |
| 163 void DispatchInputEventToWindow(ServerWindow* target, | 163 void DispatchInputEventToWindow(ServerWindow* target, |
| 164 bool in_nonclient_area, | 164 bool in_nonclient_area, |
| 165 const ui::Event& event, | 165 const ui::Event& event, |
| 166 Accelerator* accelerator) override; | 166 Accelerator* accelerator) override; |
| 167 void OnEventTargetNotFound(const ui::Event& event) override; |
| 167 | 168 |
| 168 Display* display_; | 169 Display* display_; |
| 169 PlatformDisplay* platform_display_; | 170 PlatformDisplay* platform_display_; |
| 170 // If this was created implicitly by a call | 171 // If this was created implicitly by a call |
| 171 // WindowTreeHostFactory::CreateWindowTreeHost(), then |is_user_id_valid_| | 172 // WindowTreeHostFactory::CreateWindowTreeHost(), then |is_user_id_valid_| |
| 172 // is false. | 173 // is false. |
| 173 const bool is_user_id_valid_; | 174 const bool is_user_id_valid_; |
| 174 const UserId user_id_; | 175 const UserId user_id_; |
| 175 // Root ServerWindow of this WindowManagerState. |root_| has a parent, the | 176 // Root ServerWindow of this WindowManagerState. |root_| has a parent, the |
| 176 // root ServerWindow of the Display. | 177 // root ServerWindow of the Display. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 189 | 190 |
| 190 EventDispatcher event_dispatcher_; | 191 EventDispatcher event_dispatcher_; |
| 191 | 192 |
| 192 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); | 193 DISALLOW_COPY_AND_ASSIGN(WindowManagerState); |
| 193 }; | 194 }; |
| 194 | 195 |
| 195 } // namespace ws | 196 } // namespace ws |
| 196 } // namespace mus | 197 } // namespace mus |
| 197 | 198 |
| 198 #endif // COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ | 199 #endif // COMPONENTS_MUS_WS_WINDOW_MANAGER_STATE_H_ |
| OLD | NEW |