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 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <stdint.h> | 6 #include <stdint.h> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 internal) override { | 381 internal) override { |
382 window_manager_binding_.reset( | 382 window_manager_binding_.reset( |
383 new mojo::AssociatedBinding<mojom::WindowManager>(this, | 383 new mojo::AssociatedBinding<mojom::WindowManager>(this, |
384 std::move(internal))); | 384 std::move(internal))); |
385 tree_->GetWindowManagerClient( | 385 tree_->GetWindowManagerClient( |
386 GetProxy(&window_manager_client_, tree_.associated_group())); | 386 GetProxy(&window_manager_client_, tree_.associated_group())); |
387 } | 387 } |
388 | 388 |
389 // mojom::WindowManager: | 389 // mojom::WindowManager: |
390 void OnConnect(uint16_t client_id) override {} | 390 void OnConnect(uint16_t client_id) override {} |
391 void WmNewDisplayAdded(mojom::DisplayPtr display, | 391 void WmNewDisplayAdded(const display::Display& display, |
392 mojom::WindowDataPtr root_data, | 392 mojom::WindowDataPtr root_data, |
393 bool drawn) override { | 393 bool drawn) override { |
394 NOTIMPLEMENTED(); | 394 NOTIMPLEMENTED(); |
395 } | 395 } |
396 void WmSetBounds(uint32_t change_id, | 396 void WmSetBounds(uint32_t change_id, |
397 uint32_t window_id, | 397 uint32_t window_id, |
398 const gfx::Rect& bounds) override { | 398 const gfx::Rect& bounds) override { |
399 window_manager_client_->WmResponse(change_id, false); | 399 window_manager_client_->WmResponse(change_id, false); |
400 } | 400 } |
401 void WmSetProperty(uint32_t change_id, | 401 void WmSetProperty(uint32_t change_id, |
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2042 | 2042 |
2043 // TODO(sky): make sure coverage of what was | 2043 // TODO(sky): make sure coverage of what was |
2044 // WindowManagerTest.SecondEmbedRoot_InitService and | 2044 // WindowManagerTest.SecondEmbedRoot_InitService and |
2045 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window | 2045 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window |
2046 // manager | 2046 // manager |
2047 // tests. | 2047 // tests. |
2048 | 2048 |
2049 } // namespace test | 2049 } // namespace test |
2050 } // namespace ws | 2050 } // namespace ws |
2051 } // namespace ui | 2051 } // namespace ui |
OLD | NEW |