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

Side by Side Diff: ui/aura/mus/window_tree_client.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 | « ui/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_tree_client.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 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 void WmDisplayRemoved(int64_t display_id) override; 389 void WmDisplayRemoved(int64_t display_id) override;
390 void WmDisplayModified(const display::Display& display) override; 390 void WmDisplayModified(const display::Display& display) override;
391 void WmSetBounds(uint32_t change_id, 391 void WmSetBounds(uint32_t change_id,
392 Id window_id, 392 Id window_id,
393 const gfx::Rect& transit_bounds_in_pixels) override; 393 const gfx::Rect& transit_bounds_in_pixels) override;
394 void WmSetProperty( 394 void WmSetProperty(
395 uint32_t change_id, 395 uint32_t change_id,
396 Id window_id, 396 Id window_id,
397 const std::string& name, 397 const std::string& name,
398 const base::Optional<std::vector<uint8_t>>& transit_data) override; 398 const base::Optional<std::vector<uint8_t>>& transit_data) override;
399 void WmSetCanFocus(Id window_id, bool can_focus) override;
399 void WmCreateTopLevelWindow( 400 void WmCreateTopLevelWindow(
400 uint32_t change_id, 401 uint32_t change_id,
401 ClientSpecificId requesting_client_id, 402 ClientSpecificId requesting_client_id,
402 const std::unordered_map<std::string, std::vector<uint8_t>>& 403 const std::unordered_map<std::string, std::vector<uint8_t>>&
403 transport_properties) override; 404 transport_properties) override;
404 void WmClientJankinessChanged(ClientSpecificId client_id, 405 void WmClientJankinessChanged(ClientSpecificId client_id,
405 bool janky) override; 406 bool janky) override;
406 void WmPerformMoveLoop(uint32_t change_id, 407 void WmPerformMoveLoop(uint32_t change_id,
407 Id window_id, 408 Id window_id,
408 ui::mojom::MoveLoopSource source, 409 ui::mojom::MoveLoopSource source,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 std::unique_ptr<ui::Gpu> gpu_; 542 std::unique_ptr<ui::Gpu> gpu_;
542 std::unique_ptr<MusContextFactory> compositor_context_factory_; 543 std::unique_ptr<MusContextFactory> compositor_context_factory_;
543 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 544 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
544 545
545 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 546 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
546 }; 547 };
547 548
548 } // namespace aura 549 } // namespace aura
549 550
550 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 551 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_manager_delegate.h ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698