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

Side by Side Diff: services/ui/ws/test_utils.h

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/test_wm/test_wm.cc ('k') | services/ui/ws/window_manager_client_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef SERVICES_UI_WS_TEST_UTILS_H_ 5 #ifndef SERVICES_UI_WS_TEST_UTILS_H_
6 #define SERVICES_UI_WS_TEST_UTILS_H_ 6 #define SERVICES_UI_WS_TEST_UTILS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 void WmDisplayRemoved(int64_t display_id) override; 334 void WmDisplayRemoved(int64_t display_id) override;
335 void WmDisplayModified(const display::Display& display) override {} 335 void WmDisplayModified(const display::Display& display) override {}
336 void WmSetBounds(uint32_t change_id, 336 void WmSetBounds(uint32_t change_id,
337 uint32_t window_id, 337 uint32_t window_id,
338 const gfx::Rect& bounds) override {} 338 const gfx::Rect& bounds) override {}
339 void WmSetProperty( 339 void WmSetProperty(
340 uint32_t change_id, 340 uint32_t change_id,
341 uint32_t window_id, 341 uint32_t window_id,
342 const std::string& name, 342 const std::string& name,
343 const base::Optional<std::vector<uint8_t>>& value) override {} 343 const base::Optional<std::vector<uint8_t>>& value) override {}
344 void WmSetCanFocus(uint32_t window_id, bool can_focus) override {}
344 void WmCreateTopLevelWindow( 345 void WmCreateTopLevelWindow(
345 uint32_t change_id, 346 uint32_t change_id,
346 ClientSpecificId requesting_client_id, 347 ClientSpecificId requesting_client_id,
347 const std::unordered_map<std::string, std::vector<uint8_t>>& properties) 348 const std::unordered_map<std::string, std::vector<uint8_t>>& properties)
348 override; 349 override;
349 void WmClientJankinessChanged(ClientSpecificId client_id, 350 void WmClientJankinessChanged(ClientSpecificId client_id,
350 bool janky) override; 351 bool janky) override;
351 void WmPerformMoveLoop(uint32_t change_id, 352 void WmPerformMoveLoop(uint32_t change_id,
352 uint32_t window_id, 353 uint32_t window_id,
353 mojom::MoveLoopSource source, 354 mojom::MoveLoopSource source,
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id); 671 ServerWindow* NewWindowInTree(WindowTree* tree, ClientWindowId* client_id);
671 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree, 672 ServerWindow* NewWindowInTreeWithParent(WindowTree* tree,
672 ServerWindow* parent, 673 ServerWindow* parent,
673 ClientWindowId* client_id); 674 ClientWindowId* client_id);
674 675
675 } // namespace test 676 } // namespace test
676 } // namespace ws 677 } // namespace ws
677 } // namespace ui 678 } // namespace ui
678 679
679 #endif // SERVICES_UI_WS_TEST_UTILS_H_ 680 #endif // SERVICES_UI_WS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « services/ui/test_wm/test_wm.cc ('k') | services/ui/ws/window_manager_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698