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

Side by Side Diff: components/mus/ws/window_manager_state.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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
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 "components/mus/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/ws/accelerator.h" 8 #include "components/mus/ws/accelerator.h"
9 #include "components/mus/ws/display_manager.h" 9 #include "components/mus/ws/display_manager.h"
10 #include "components/mus/ws/platform_display.h" 10 #include "components/mus/ws/platform_display.h"
11 #include "components/mus/ws/server_window.h" 11 #include "components/mus/ws/server_window.h"
12 #include "components/mus/ws/user_display_manager.h" 12 #include "components/mus/ws/user_display_manager.h"
13 #include "components/mus/ws/user_id_tracker.h" 13 #include "components/mus/ws/user_id_tracker.h"
14 #include "components/mus/ws/window_server.h" 14 #include "components/mus/ws/window_server.h"
15 #include "components/mus/ws/window_tree.h" 15 #include "components/mus/ws/window_tree.h"
16 #include "mojo/shell/public/interfaces/connector.mojom.h" 16 #include "services/shell/public/interfaces/connector.mojom.h"
17 #include "ui/events/event.h" 17 #include "ui/events/event.h"
18 18
19 namespace mus { 19 namespace mus {
20 namespace ws { 20 namespace ws {
21 namespace { 21 namespace {
22 22
23 base::TimeDelta GetDefaultAckTimerDelay() { 23 base::TimeDelta GetDefaultAckTimerDelay() {
24 #if defined(NDEBUG) 24 #if defined(NDEBUG)
25 return base::TimeDelta::FromMilliseconds(100); 25 return base::TimeDelta::FromMilliseconds(100);
26 #else 26 #else
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 375
376 base::WeakPtr<Accelerator> weak_accelerator; 376 base::WeakPtr<Accelerator> weak_accelerator;
377 if (accelerator) 377 if (accelerator)
378 weak_accelerator = accelerator->GetWeakPtr(); 378 weak_accelerator = accelerator->GetWeakPtr();
379 DispatchInputEventToWindowImpl(target, in_nonclient_area, event, 379 DispatchInputEventToWindowImpl(target, in_nonclient_area, event,
380 weak_accelerator); 380 weak_accelerator);
381 } 381 }
382 382
383 } // namespace ws 383 } // namespace ws
384 } // namespace mus 384 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/user_id_tracker.cc ('k') | components/mus/ws/window_manager_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698