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

Side by Side Diff: ash/mus/bridge/wm_shell_mus.cc

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment Created 4 years, 4 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/mus/bridge/wm_shell_mus.h ('k') | ash/mus/bridge/wm_window_mus.h » ('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/mus/bridge/wm_shell_mus.h" 5 #include "ash/mus/bridge/wm_shell_mus.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/display/display_info.h" 10 #include "ash/common/display/display_info.h"
11 #include "ash/common/keyboard/keyboard_ui.h" 11 #include "ash/common/keyboard/keyboard_ui.h"
12 #include "ash/common/session/session_state_delegate.h" 12 #include "ash/common/session/session_state_delegate.h"
13 #include "ash/common/shell_delegate.h" 13 #include "ash/common/shell_delegate.h"
14 #include "ash/common/shell_observer.h" 14 #include "ash/common/shell_observer.h"
15 #include "ash/common/shell_window_ids.h" 15 #include "ash/common/shell_window_ids.h"
16 #include "ash/common/system/tray/default_system_tray_delegate.h" 16 #include "ash/common/system/tray/default_system_tray_delegate.h"
17 #include "ash/common/wm/immersive/wm_immersive_fullscreen_controller.h"
18 #include "ash/common/wm/maximize_mode/maximize_mode_event_handler.h" 17 #include "ash/common/wm/maximize_mode/maximize_mode_event_handler.h"
19 #include "ash/common/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard .h" 18 #include "ash/common/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard .h"
20 #include "ash/common/wm/mru_window_tracker.h" 19 #include "ash/common/wm/mru_window_tracker.h"
21 #include "ash/common/wm/window_cycle_event_filter.h" 20 #include "ash/common/wm/window_cycle_event_filter.h"
22 #include "ash/common/wm/window_resizer.h" 21 #include "ash/common/wm/window_resizer.h"
23 #include "ash/common/wm_activation_observer.h" 22 #include "ash/common/wm_activation_observer.h"
24 #include "ash/mus/accelerators/accelerator_controller_delegate_mus.h" 23 #include "ash/mus/accelerators/accelerator_controller_delegate_mus.h"
25 #include "ash/mus/accelerators/accelerator_controller_registrar.h" 24 #include "ash/mus/accelerators/accelerator_controller_registrar.h"
26 #include "ash/mus/bridge/wm_root_window_controller_mus.h" 25 #include "ash/mus/bridge/wm_root_window_controller_mus.h"
27 #include "ash/mus/bridge/wm_window_mus.h" 26 #include "ash/mus/bridge/wm_window_mus.h"
28 #include "ash/mus/container_ids.h" 27 #include "ash/mus/container_ids.h"
29 #include "ash/mus/drag_window_resizer.h" 28 #include "ash/mus/drag_window_resizer.h"
30 #include "ash/mus/root_window_controller.h" 29 #include "ash/mus/root_window_controller.h"
31 #include "ash/mus/window_manager.h" 30 #include "ash/mus/window_manager.h"
31 #include "ash/shared/immersive_fullscreen_controller.h"
32 #include "base/memory/ptr_util.h" 32 #include "base/memory/ptr_util.h"
33 #include "components/user_manager/user_info_impl.h" 33 #include "components/user_manager/user_info_impl.h"
34 #include "services/ui/common/util.h" 34 #include "services/ui/common/util.h"
35 #include "services/ui/public/cpp/window.h" 35 #include "services/ui/public/cpp/window.h"
36 #include "services/ui/public/cpp/window_tree_client.h" 36 #include "services/ui/public/cpp/window_tree_client.h"
37 #include "ui/display/screen.h" 37 #include "ui/display/screen.h"
38 #include "ui/views/mus/pointer_watcher_event_router.h" 38 #include "ui/views/mus/pointer_watcher_event_router.h"
39 39
40 namespace ash { 40 namespace ash {
41 namespace mus { 41 namespace mus {
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 return nullptr; 331 return nullptr;
332 } 332 }
333 333
334 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard> 334 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
335 WmShellMus::CreateScopedDisableInternalMouseAndKeyboard() { 335 WmShellMus::CreateScopedDisableInternalMouseAndKeyboard() {
336 // TODO: needs implementation for mus, http://crbug.com/624967. 336 // TODO: needs implementation for mus, http://crbug.com/624967.
337 NOTIMPLEMENTED(); 337 NOTIMPLEMENTED();
338 return nullptr; 338 return nullptr;
339 } 339 }
340 340
341 std::unique_ptr<WmImmersiveFullscreenController> 341 std::unique_ptr<ImmersiveFullscreenController>
342 WmShellMus::CreateImmersiveFullscreenController() { 342 WmShellMus::CreateImmersiveFullscreenController() {
343 // TODO(sky): port ImmersiveFullscreenController, http://crbug.com/548435. 343 // TODO(sky): port ImmersiveFullscreenController, http://crbug.com/548435.
344 return nullptr; 344 return nullptr;
345 } 345 }
346 346
347 void WmShellMus::OnOverviewModeStarting() { 347 void WmShellMus::OnOverviewModeStarting() {
348 FOR_EACH_OBSERVER(ShellObserver, *shell_observers(), 348 FOR_EACH_OBSERVER(ShellObserver, *shell_observers(),
349 OnOverviewModeStarting()); 349 OnOverviewModeStarting());
350 } 350 }
351 351
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 OnWindowActivated(gained_active, lost_active)); 419 OnWindowActivated(gained_active, lost_active));
420 } 420 }
421 421
422 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) { 422 void WmShellMus::OnDidDestroyClient(ui::WindowTreeClient* client) {
423 DCHECK_EQ(window_tree_client(), client); 423 DCHECK_EQ(window_tree_client(), client);
424 client->RemoveObserver(this); 424 client->RemoveObserver(this);
425 } 425 }
426 426
427 } // namespace mus 427 } // namespace mus
428 } // namespace ash 428 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.h ('k') | ash/mus/bridge/wm_window_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698