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

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

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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_manager_state.h ('k') | services/ui/ws/window_manager_state_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 #include "components/mus/ws/window_manager_state.h" 5 #include "services/ui/ws/window_manager_state.h"
6 6
7 #include "base/memory/weak_ptr.h" 7 #include "base/memory/weak_ptr.h"
8 #include "components/mus/common/event_matcher_util.h"
9 #include "components/mus/ws/accelerator.h"
10 #include "components/mus/ws/display_manager.h"
11 #include "components/mus/ws/platform_display.h"
12 #include "components/mus/ws/server_window.h"
13 #include "components/mus/ws/user_display_manager.h"
14 #include "components/mus/ws/user_id_tracker.h"
15 #include "components/mus/ws/window_manager_display_root.h"
16 #include "components/mus/ws/window_server.h"
17 #include "components/mus/ws/window_tree.h"
18 #include "services/shell/public/interfaces/connector.mojom.h" 8 #include "services/shell/public/interfaces/connector.mojom.h"
9 #include "services/ui/common/event_matcher_util.h"
10 #include "services/ui/ws/accelerator.h"
11 #include "services/ui/ws/display_manager.h"
12 #include "services/ui/ws/platform_display.h"
13 #include "services/ui/ws/server_window.h"
14 #include "services/ui/ws/user_display_manager.h"
15 #include "services/ui/ws/user_id_tracker.h"
16 #include "services/ui/ws/window_manager_display_root.h"
17 #include "services/ui/ws/window_server.h"
18 #include "services/ui/ws/window_tree.h"
19 #include "ui/events/event.h" 19 #include "ui/events/event.h"
20 20
21 namespace mus { 21 namespace mus {
22 namespace ws { 22 namespace ws {
23 namespace { 23 namespace {
24 24
25 // Debug accelerator IDs start far above the highest valid Windows command ID 25 // Debug accelerator IDs start far above the highest valid Windows command ID
26 // (0xDFFF) and Chrome's highest IDC command ID. 26 // (0xDFFF) and Chrome's highest IDC command ID.
27 const uint32_t kPrintWindowsDebugAcceleratorId = 1u << 31; 27 const uint32_t kPrintWindowsDebugAcceleratorId = 1u << 31;
28 28
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 return display_root ? display_root->root() : nullptr; 476 return display_root ? display_root->root() : nullptr;
477 } 477 }
478 478
479 void WindowManagerState::OnEventTargetNotFound(const ui::Event& event) { 479 void WindowManagerState::OnEventTargetNotFound(const ui::Event& event) {
480 window_server()->SendToEventObservers(event, user_id(), 480 window_server()->SendToEventObservers(event, user_id(),
481 nullptr /* ignore_tree */); 481 nullptr /* ignore_tree */);
482 } 482 }
483 483
484 } // namespace ws 484 } // namespace ws
485 } // namespace mus 485 } // namespace mus
OLDNEW
« no previous file with comments | « services/ui/ws/window_manager_state.h ('k') | services/ui/ws/window_manager_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698