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

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

Issue 2161993002: Start using display.mojom.Display in mus+ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@display_traits
Patch Set: Fixes. Created 4 years, 5 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/mojo/BUILD.gn » ('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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | ui/display/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698