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

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

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: 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 | « ash/common/wm_shell.cc ('k') | ash/mus/window_manager_application.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 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"
37 #include "services/service_manager/public/cpp/connector.h" 36 #include "services/service_manager/public/cpp/connector.h"
38 #include "services/ui/common/accelerator_util.h" 37 #include "services/ui/common/accelerator_util.h"
39 #include "services/ui/common/types.h" 38 #include "services/ui/common/types.h"
40 #include "services/ui/public/cpp/property_type_converters.h" 39 #include "services/ui/public/cpp/property_type_converters.h"
41 #include "services/ui/public/interfaces/constants.mojom.h" 40 #include "services/ui/public/interfaces/constants.mojom.h"
42 #include "services/ui/public/interfaces/window_manager.mojom.h" 41 #include "services/ui/public/interfaces/window_manager.mojom.h"
43 #include "ui/aura/client/window_parenting_client.h" 42 #include "ui/aura/client/window_parenting_client.h"
44 #include "ui/aura/env.h" 43 #include "ui/aura/env.h"
45 #include "ui/aura/mus/capture_synchronizer.h" 44 #include "ui/aura/mus/capture_synchronizer.h"
46 #include "ui/aura/mus/property_converter.h" 45 #include "ui/aura/mus/property_converter.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 bool WindowManager::IsWindowActive(aura::Window* window) { 464 bool WindowManager::IsWindowActive(aura::Window* window) {
466 return Shell::GetInstance()->activation_client()->GetActiveWindow() == window; 465 return Shell::GetInstance()->activation_client()->GetActiveWindow() == window;
467 } 466 }
468 467
469 void WindowManager::OnWmDeactivateWindow(aura::Window* window) { 468 void WindowManager::OnWmDeactivateWindow(aura::Window* window) {
470 Shell::GetInstance()->activation_client()->DeactivateWindow(window); 469 Shell::GetInstance()->activation_client()->DeactivateWindow(window);
471 } 470 }
472 471
473 } // namespace mus 472 } // namespace mus
474 } // namespace ash 473 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/window_manager_application.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698