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

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

Issue 2745143004: Inform window manager about modal windows in mus+ash. (Closed)
Patch Set: rebased. Created 3 years, 9 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') | services/ui/ws/window_tree_unittest.cc » ('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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 window_id, ui::ModalType type) override {}
465 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {} 466 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {}
466 void WmCreateTopLevelWindow( 467 void WmCreateTopLevelWindow(
467 uint32_t change_id, 468 uint32_t change_id,
468 ClientSpecificId requesting_client_id, 469 ClientSpecificId requesting_client_id,
469 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 470 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
470 override { 471 override {
471 NOTIMPLEMENTED(); 472 NOTIMPLEMENTED();
472 } 473 }
473 void WmClientJankinessChanged(ClientSpecificId client_id, 474 void WmClientJankinessChanged(ClientSpecificId client_id,
474 bool janky) override { 475 bool janky) override {
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after
2234 2235
2235 // TODO(sky): make sure coverage of what was 2236 // TODO(sky): make sure coverage of what was
2236 // WindowManagerTest.SecondEmbedRoot_InitService and 2237 // WindowManagerTest.SecondEmbedRoot_InitService and
2237 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window 2238 // WindowManagerTest.MultipleEmbedRootsBeforeWTHReady gets added to window
2238 // manager 2239 // manager
2239 // tests. 2240 // tests.
2240 2241
2241 } // namespace test 2242 } // namespace test
2242 } // namespace ws 2243 } // namespace ws
2243 } // namespace ui 2244 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/window_tree.cc ('k') | services/ui/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698