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

Side by Side Diff: ash/mus/window_manager.cc

Issue 2690533002: Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: rebase 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ash/mus/window_manager.h" 5 #include "ash/mus/window_manager.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 15 matching lines...) Expand all
26 #include "ash/mus/top_level_window_factory.h" 26 #include "ash/mus/top_level_window_factory.h"
27 #include "ash/mus/window_properties.h" 27 #include "ash/mus/window_properties.h"
28 #include "ash/public/cpp/shell_window_ids.h" 28 #include "ash/public/cpp/shell_window_ids.h"
29 #include "ash/public/cpp/window_properties.h" 29 #include "ash/public/cpp/window_properties.h"
30 #include "ash/root_window_controller.h" 30 #include "ash/root_window_controller.h"
31 #include "ash/root_window_settings.h" 31 #include "ash/root_window_settings.h"
32 #include "ash/shell.h" 32 #include "ash/shell.h"
33 #include "ash/shell_init_params.h" 33 #include "ash/shell_init_params.h"
34 #include "ash/wm/ash_focus_rules.h" 34 #include "ash/wm/ash_focus_rules.h"
35 #include "base/memory/ptr_util.h" 35 #include "base/memory/ptr_util.h"
36 #include "base/threading/sequenced_worker_pool.h"
36 #include "services/service_manager/public/cpp/connector.h" 37 #include "services/service_manager/public/cpp/connector.h"
37 #include "services/ui/common/accelerator_util.h" 38 #include "services/ui/common/accelerator_util.h"
38 #include "services/ui/common/types.h" 39 #include "services/ui/common/types.h"
39 #include "services/ui/public/cpp/property_type_converters.h" 40 #include "services/ui/public/cpp/property_type_converters.h"
40 #include "services/ui/public/interfaces/constants.mojom.h" 41 #include "services/ui/public/interfaces/constants.mojom.h"
41 #include "services/ui/public/interfaces/window_manager.mojom.h" 42 #include "services/ui/public/interfaces/window_manager.mojom.h"
42 #include "ui/aura/client/window_parenting_client.h" 43 #include "ui/aura/client/window_parenting_client.h"
43 #include "ui/aura/env.h" 44 #include "ui/aura/env.h"
44 #include "ui/aura/mus/capture_synchronizer.h" 45 #include "ui/aura/mus/capture_synchronizer.h"
45 #include "ui/aura/mus/property_converter.h" 46 #include "ui/aura/mus/property_converter.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 bool WindowManager::IsWindowActive(aura::Window* window) { 465 bool WindowManager::IsWindowActive(aura::Window* window) {
465 return Shell::GetInstance()->activation_client()->GetActiveWindow() == window; 466 return Shell::GetInstance()->activation_client()->GetActiveWindow() == window;
466 } 467 }
467 468
468 void WindowManager::OnWmDeactivateWindow(aura::Window* window) { 469 void WindowManager::OnWmDeactivateWindow(aura::Window* window) {
469 Shell::GetInstance()->activation_client()->DeactivateWindow(window); 470 Shell::GetInstance()->activation_client()->DeactivateWindow(window);
470 } 471 }
471 472
472 } // namespace mus 473 } // namespace mus
473 } // namespace ash 474 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698