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

Side by Side Diff: ash/common/wm_shell.cc

Issue 2694813005: 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/system/tray/system_tray_notifier.h ('k') | ash/mus/window_manager.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 "ash/common/wm_shell.h" 5 #include "ash/common/wm_shell.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/accelerators/accelerator_controller.h" 9 #include "ash/common/accelerators/accelerator_controller.h"
10 #include "ash/common/accelerators/ash_focus_manager_factory.h" 10 #include "ash/common/accelerators/ash_focus_manager_factory.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "ash/common/wm/system_modal_container_layout_manager.h" 47 #include "ash/common/wm/system_modal_container_layout_manager.h"
48 #include "ash/common/wm/window_cycle_controller.h" 48 #include "ash/common/wm/window_cycle_controller.h"
49 #include "ash/common/wm_activation_observer.h" 49 #include "ash/common/wm_activation_observer.h"
50 #include "ash/common/wm_window.h" 50 #include "ash/common/wm_window.h"
51 #include "ash/public/cpp/shell_window_ids.h" 51 #include "ash/public/cpp/shell_window_ids.h"
52 #include "ash/root_window_controller.h" 52 #include "ash/root_window_controller.h"
53 #include "ash/shell.h" 53 #include "ash/shell.h"
54 #include "base/bind.h" 54 #include "base/bind.h"
55 #include "base/logging.h" 55 #include "base/logging.h"
56 #include "base/memory/ptr_util.h" 56 #include "base/memory/ptr_util.h"
57 #include "base/threading/sequenced_worker_pool.h"
58 #include "services/preferences/public/cpp/pref_client_store.h" 57 #include "services/preferences/public/cpp/pref_client_store.h"
59 #include "services/preferences/public/interfaces/preferences.mojom.h" 58 #include "services/preferences/public/interfaces/preferences.mojom.h"
60 #include "services/service_manager/public/cpp/connector.h" 59 #include "services/service_manager/public/cpp/connector.h"
61 #include "ui/app_list/presenter/app_list.h" 60 #include "ui/app_list/presenter/app_list.h"
62 #include "ui/display/display.h" 61 #include "ui/display/display.h"
63 #include "ui/views/focus/focus_manager_factory.h" 62 #include "ui/views/focus/focus_manager_factory.h"
64 #include "ui/wm/public/activation_client.h" 63 #include "ui/wm/public/activation_client.h"
65 64
66 namespace ash { 65 namespace ash {
67 66
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 455
457 void WmShell::OnAttemptToReactivateWindow(aura::Window* request_active, 456 void WmShell::OnAttemptToReactivateWindow(aura::Window* request_active,
458 aura::Window* actual_active) { 457 aura::Window* actual_active) {
459 for (auto& observer : activation_observers_) { 458 for (auto& observer : activation_observers_) {
460 observer.OnAttemptToReactivateWindow(WmWindow::Get(request_active), 459 observer.OnAttemptToReactivateWindow(WmWindow::Get(request_active),
461 WmWindow::Get(actual_active)); 460 WmWindow::Get(actual_active));
462 } 461 }
463 } 462 }
464 463
465 } // namespace ash 464 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_notifier.h ('k') | ash/mus/window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698