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

Side by Side Diff: ui/aura/mus/window_tree_client.h

Issue 2843193002: chromeos: fix focus for mushrome (Closed)
Patch Set: feedback Created 3 years, 7 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/focus_synchronizer.cc ('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 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 574
575 // A mapping to shared memory that is one 32 bit integer long. The window 575 // A mapping to shared memory that is one 32 bit integer long. The window
576 // server uses this to let us synchronously read the cursor location. 576 // server uses this to let us synchronously read the cursor location.
577 mojo::ScopedSharedBufferMapping cursor_location_mapping_; 577 mojo::ScopedSharedBufferMapping cursor_location_mapping_;
578 578
579 base::ObserverList<WindowTreeClientObserver> observers_; 579 base::ObserverList<WindowTreeClientObserver> observers_;
580 580
581 std::unique_ptr<mojo::AssociatedBinding<ui::mojom::WindowManager>> 581 std::unique_ptr<mojo::AssociatedBinding<ui::mojom::WindowManager>>
582 window_manager_internal_; 582 window_manager_internal_;
583 ui::mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_; 583 ui::mojom::WindowManagerClientAssociatedPtr window_manager_internal_client_;
584 // Normally the same as |window_manager_internal_client_|. Tests typically
585 // run without a service_manager::Connector, which means this (and
586 // |window_manager_internal_client_|) are null. Tests that need to test
587 // WindowManagerClient set this, but not |window_manager_internal_client_|.
588 ui::mojom::WindowManagerClient* window_manager_client_ = nullptr;
584 589
585 bool has_pointer_watcher_ = false; 590 bool has_pointer_watcher_ = false;
586 591
587 // The current change id for the client. 592 // The current change id for the client.
588 uint32_t current_move_loop_change_ = 0u; 593 uint32_t current_move_loop_change_ = 0u;
589 594
590 // Callback executed when a move loop initiated by PerformWindowMove() is 595 // Callback executed when a move loop initiated by PerformWindowMove() is
591 // completed. 596 // completed.
592 base::Callback<void(bool)> on_current_move_finished_; 597 base::Callback<void(bool)> on_current_move_finished_;
593 598
(...skipping 24 matching lines...) Expand all
618 gfx::Insets normal_client_area_insets_; 623 gfx::Insets normal_client_area_insets_;
619 624
620 base::WeakPtrFactory<WindowTreeClient> weak_factory_; 625 base::WeakPtrFactory<WindowTreeClient> weak_factory_;
621 626
622 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient); 627 DISALLOW_COPY_AND_ASSIGN(WindowTreeClient);
623 }; 628 };
624 629
625 } // namespace aura 630 } // namespace aura
626 631
627 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_ 632 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/focus_synchronizer.cc ('k') | ui/aura/mus/window_tree_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698