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/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 const gfx::Rect& bounds) override { | 455 const gfx::Rect& bounds) override { |
456 window_manager_client_->WmResponse(change_id, false); | 456 window_manager_client_->WmResponse(change_id, false); |
457 } | 457 } |
458 void WmSetProperty( | 458 void WmSetProperty( |
459 uint32_t change_id, | 459 uint32_t change_id, |
460 uint32_t window_id, | 460 uint32_t window_id, |
461 const std::string& name, | 461 const std::string& name, |
462 const base::Optional<std::vector<uint8_t>>& value) override { | 462 const base::Optional<std::vector<uint8_t>>& value) override { |
463 window_manager_client_->WmResponse(change_id, false); | 463 window_manager_client_->WmResponse(change_id, false); |
464 } | 464 } |
| 465 void WmSetModalType(uint32_t change_id, |
| 466 uint32_t window_id, |
| 467 ui::ModalType type) override { |
| 468 window_manager_client_->WmResponse(change_id, false); |
| 469 } |
465 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} | 470 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} |
466 void WmCreateTopLevelWindow( | 471 void WmCreateTopLevelWindow( |
467 uint32_t change_id, | 472 uint32_t change_id, |
468 ClientSpecificId requesting_client_id, | 473 ClientSpecificId requesting_client_id, |
469 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) | 474 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) |
470 override { | 475 override { |
471 NOTIMPLEMENTED(); | 476 NOTIMPLEMENTED(); |
472 } | 477 } |
473 void WmClientJankinessChanged(ClientSpecificId client_id, | 478 void WmClientJankinessChanged(ClientSpecificId client_id, |
474 bool janky) override { | 479 bool janky) override { |
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2234 | 2239 |
2235 // TODO(sky): make sure coverage of what was | 2240 // TODO(sky): make sure coverage of what was |
2236 // WindowManagerTest.SecondEmbedRoot_InitService and | 2241 // WindowManagerTest.SecondEmbedRoot_InitService and |
2237 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window | 2242 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window |
2238 // manager | 2243 // manager |
2239 // tests. | 2244 // tests. |
2240 | 2245 |
2241 } // namespace test | 2246 } // namespace test |
2242 } // namespace ws | 2247 } // namespace ws |
2243 } // namespace ui | 2248 } // namespace ui |
OLD | NEW |