| 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 SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ | 5 #ifndef SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ | 6 #define SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 void OnChangeCompleted(uint32_t change_id, bool success) override; | 342 void OnChangeCompleted(uint32_t change_id, bool success) override; |
| 343 void RequestClose(uint32_t window_id) override; | 343 void RequestClose(uint32_t window_id) override; |
| 344 void GetWindowManager( | 344 void GetWindowManager( |
| 345 mojo::AssociatedInterfaceRequest<WindowManager> internal) override; | 345 mojo::AssociatedInterfaceRequest<WindowManager> internal) override; |
| 346 | 346 |
| 347 // Overridden from WindowManager: | 347 // Overridden from WindowManager: |
| 348 void OnConnect(ClientSpecificId client_id) override; | 348 void OnConnect(ClientSpecificId client_id) override; |
| 349 void WmNewDisplayAdded(const display::Display& display, | 349 void WmNewDisplayAdded(const display::Display& display, |
| 350 mojom::WindowDataPtr root_data, | 350 mojom::WindowDataPtr root_data, |
| 351 bool parent_drawn) override; | 351 bool parent_drawn) override; |
| 352 void WmDisplayRemoved(int64_t display_id) override; |
| 352 void WmSetBounds(uint32_t change_id, | 353 void WmSetBounds(uint32_t change_id, |
| 353 Id window_id, | 354 Id window_id, |
| 354 const gfx::Rect& transit_bounds) override; | 355 const gfx::Rect& transit_bounds) override; |
| 355 void WmSetProperty(uint32_t change_id, | 356 void WmSetProperty(uint32_t change_id, |
| 356 Id window_id, | 357 Id window_id, |
| 357 const mojo::String& name, | 358 const mojo::String& name, |
| 358 mojo::Array<uint8_t> transit_data) override; | 359 mojo::Array<uint8_t> transit_data) override; |
| 359 void WmCreateTopLevelWindow(uint32_t change_id, | 360 void WmCreateTopLevelWindow(uint32_t change_id, |
| 360 ClientSpecificId requesting_client_id, | 361 ClientSpecificId requesting_client_id, |
| 361 mojo::Map<mojo::String, mojo::Array<uint8_t>> | 362 mojo::Map<mojo::String, mojo::Array<uint8_t>> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 std::set<Id> drag_entered_windows_; | 467 std::set<Id> drag_entered_windows_; |
| 467 | 468 |
| 468 base::WeakPtrFactory<WindowTreeClient> weak_factory_; | 469 base::WeakPtrFactory<WindowTreeClient> weak_factory_; |
| 469 | 470 |
| 470 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); | 471 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); |
| 471 }; | 472 }; |
| 472 | 473 |
| 473 } // namespace ui | 474 } // namespace ui |
| 474 | 475 |
| 475 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ | 476 #endif // SERVICES_UI_PUBLIC_CPP_WINDOW_TREE_CLIENT_H_ |
| OLD | NEW |