Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Side by Side Diff: services/ui/ws/window_tree_client_unittest.cc

Issue 2434923002: Handle modified displays in mustash. (Closed)
Patch Set: Fix PlatformScreenStub for tests. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | ui/display/display_list.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 } 434 }
435 435
436 // mojom::WindowManager: 436 // mojom::WindowManager:
437 void OnConnect(uint16_t client_id) override {} 437 void OnConnect(uint16_t client_id) override {}
438 void WmNewDisplayAdded(const display::Display& display, 438 void WmNewDisplayAdded(const display::Display& display,
439 mojom::WindowDataPtr root_data, 439 mojom::WindowDataPtr root_data,
440 bool drawn) override { 440 bool drawn) override {
441 NOTIMPLEMENTED(); 441 NOTIMPLEMENTED();
442 } 442 }
443 void WmDisplayRemoved(int64_t display_id) override { NOTIMPLEMENTED(); } 443 void WmDisplayRemoved(int64_t display_id) override { NOTIMPLEMENTED(); }
444 void WmDisplayModified(const display::Display& display) override {
445 NOTIMPLEMENTED();
446 }
444 void WmSetBounds(uint32_t change_id, 447 void WmSetBounds(uint32_t change_id,
445 uint32_t window_id, 448 uint32_t window_id,
446 const gfx::Rect& bounds) override { 449 const gfx::Rect& bounds) override {
447 window_manager_client_->WmResponse(change_id, false); 450 window_manager_client_->WmResponse(change_id, false);
448 } 451 }
449 void WmSetProperty(uint32_t change_id, 452 void WmSetProperty(uint32_t change_id,
450 uint32_t window_id, 453 uint32_t window_id,
451 const mojo::String& name, 454 const mojo::String& name,
452 mojo::Array<uint8_t> value) override { 455 mojo::Array<uint8_t> value) override {
453 window_manager_client_->WmResponse(change_id, false); 456 window_manager_client_->WmResponse(change_id, false);
(...skipping 1723 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 2180
2178 // TODO(sky): make sure coverage of what was 2181 // TODO(sky): make sure coverage of what was
2179 // WindowManagerTest.SecondEmbedRoot_InitService and 2182 // WindowManagerTest.SecondEmbedRoot_InitService and
2180 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window 2183 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window
2181 // manager 2184 // manager
2182 // tests. 2185 // tests.
2183 2186
2184 } // namespace test 2187 } // namespace test
2185 } // namespace ws 2188 } // namespace ws
2186 } // namespace ui 2189 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | ui/display/display_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698