| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TREE_IMPL_H_ | 5 #ifndef COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ | 6 #define COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 mojom::OrderDirection direction, | 157 mojom::OrderDirection direction, |
| 158 bool originated_change); | 158 bool originated_change); |
| 159 void ProcessWindowDeleted(const ServerWindow* window, bool originated_change); | 159 void ProcessWindowDeleted(const ServerWindow* window, bool originated_change); |
| 160 void ProcessWillChangeWindowVisibility(const ServerWindow* window, | 160 void ProcessWillChangeWindowVisibility(const ServerWindow* window, |
| 161 bool originated_change); | 161 bool originated_change); |
| 162 void ProcessCursorChanged(const ServerWindow* window, | 162 void ProcessCursorChanged(const ServerWindow* window, |
| 163 int32_t cursor_id, | 163 int32_t cursor_id, |
| 164 bool originated_change); | 164 bool originated_change); |
| 165 void ProcessFocusChanged(const ServerWindow* old_focused_window, | 165 void ProcessFocusChanged(const ServerWindow* old_focused_window, |
| 166 const ServerWindow* new_focused_window); | 166 const ServerWindow* new_focused_window); |
| 167 void ProcessLostCapture(const ServerWindow* old_lost_capture, |
| 168 bool originated_change); |
| 167 void ProcessTransientWindowAdded(const ServerWindow* window, | 169 void ProcessTransientWindowAdded(const ServerWindow* window, |
| 168 const ServerWindow* transient_window, | 170 const ServerWindow* transient_window, |
| 169 bool originated_change); | 171 bool originated_change); |
| 170 void ProcessTransientWindowRemoved(const ServerWindow* window, | 172 void ProcessTransientWindowRemoved(const ServerWindow* window, |
| 171 const ServerWindow* transient_window, | 173 const ServerWindow* transient_window, |
| 172 bool originated_change); | 174 bool originated_change); |
| 173 | 175 |
| 174 private: | 176 private: |
| 175 friend class WindowTreeTest; | 177 friend class WindowTreeTest; |
| 176 | 178 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 void RemoveTransientWindowFromParent(uint32_t change_id, | 286 void RemoveTransientWindowFromParent(uint32_t change_id, |
| 285 Id transient_window_id) override; | 287 Id transient_window_id) override; |
| 286 void ReorderWindow(uint32_t change_Id, | 288 void ReorderWindow(uint32_t change_Id, |
| 287 Id window_id, | 289 Id window_id, |
| 288 Id relative_window_id, | 290 Id relative_window_id, |
| 289 mojom::OrderDirection direction) override; | 291 mojom::OrderDirection direction) override; |
| 290 void GetWindowTree( | 292 void GetWindowTree( |
| 291 Id window_id, | 293 Id window_id, |
| 292 const mojo::Callback<void(mojo::Array<mojom::WindowDataPtr>)>& callback) | 294 const mojo::Callback<void(mojo::Array<mojom::WindowDataPtr>)>& callback) |
| 293 override; | 295 override; |
| 296 void SetCapture(uint32_t change_id, Id window_id) override; |
| 297 void ReleaseCapture(uint32_t change_id, Id window_id) override; |
| 294 void SetWindowBounds(uint32_t change_id, | 298 void SetWindowBounds(uint32_t change_id, |
| 295 Id window_id, | 299 Id window_id, |
| 296 mojo::RectPtr bounds) override; | 300 mojo::RectPtr bounds) override; |
| 297 void SetWindowVisibility(uint32_t change_id, | 301 void SetWindowVisibility(uint32_t change_id, |
| 298 Id window_id, | 302 Id window_id, |
| 299 bool visible) override; | 303 bool visible) override; |
| 300 void SetWindowProperty(uint32_t change_id, | 304 void SetWindowProperty(uint32_t change_id, |
| 301 Id transport_window_id, | 305 Id transport_window_id, |
| 302 const mojo::String& name, | 306 const mojo::String& name, |
| 303 mojo::Array<uint8_t> value) override; | 307 mojo::Array<uint8_t> value) override; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 | 386 |
| 383 scoped_ptr<WaitingForTopLevelWindowInfo> waiting_for_top_level_window_info_; | 387 scoped_ptr<WaitingForTopLevelWindowInfo> waiting_for_top_level_window_info_; |
| 384 | 388 |
| 385 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); | 389 DISALLOW_COPY_AND_ASSIGN(WindowTreeImpl); |
| 386 }; | 390 }; |
| 387 | 391 |
| 388 } // namespace ws | 392 } // namespace ws |
| 389 } // namespace mus | 393 } // namespace mus |
| 390 | 394 |
| 391 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ | 395 #endif // COMPONENTS_MUS_WS_WINDOW_TREE_IMPL_H_ |
| OLD | NEW |