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

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

Issue 2650833002: Set focusibility correctly when initializing a window in mus+ash. (Closed)
Patch Set: addressed feedback. Created 3 years, 10 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/aura/mus/window_manager_delegate.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/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 const gfx::Rect& bounds) override { 450 const gfx::Rect& bounds) override {
451 window_manager_client_->WmResponse(change_id, false); 451 window_manager_client_->WmResponse(change_id, false);
452 } 452 }
453 void WmSetProperty( 453 void WmSetProperty(
454 uint32_t change_id, 454 uint32_t change_id,
455 uint32_t window_id, 455 uint32_t window_id,
456 const std::string& name, 456 const std::string& name,
457 const base::Optional<std::vector<uint8_t>>& value) override { 457 const base::Optional<std::vector<uint8_t>>& value) override {
458 window_manager_client_->WmResponse(change_id, false); 458 window_manager_client_->WmResponse(change_id, false);
459 } 459 }
460 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {}
460 void WmCreateTopLevelWindow( 461 void WmCreateTopLevelWindow(
461 uint32_t change_id, 462 uint32_t change_id,
462 ClientSpecificId requesting_client_id, 463 ClientSpecificId requesting_client_id,
463 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 464 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
464 override { 465 override {
465 NOTIMPLEMENTED(); 466 NOTIMPLEMENTED();
466 } 467 }
467 void WmClientJankinessChanged(ClientSpecificId client_id, 468 void WmClientJankinessChanged(ClientSpecificId client_id,
468 bool janky) override { 469 bool janky) override {
469 NOTIMPLEMENTED(); 470 NOTIMPLEMENTED();
(...skipping 1748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2218 2219
2219 // TODO(sky): make sure coverage of what was 2220 // TODO(sky): make sure coverage of what was
2220 // WindowManagerTest.SecondEmbedRoot_InitService and 2221 // WindowManagerTest.SecondEmbedRoot_InitService and
2221 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window 2222 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window
2222 // manager 2223 // manager
2223 // tests. 2224 // tests.
2224 2225
2225 } // namespace test 2226 } // namespace test
2226 } // namespace ws 2227 } // namespace ws
2227 } // namespace ui 2228 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | ui/aura/mus/window_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698