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

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

Issue 2041423002: Moves MruWindowTracker to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_mru_window_tracker
Patch Set: merge Created 4 years, 6 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/bridge/wm_shell_mus.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 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 30 matching lines...) Expand all
41 41
42 WmRootWindowControllerMus* GetRootWindowControllerWithDisplayId(int64_t id); 42 WmRootWindowControllerMus* GetRootWindowControllerWithDisplayId(int64_t id);
43 43
44 // WmShell: 44 // WmShell:
45 WmWindow* NewContainerWindow() override; 45 WmWindow* NewContainerWindow() override;
46 WmWindow* GetFocusedWindow() override; 46 WmWindow* GetFocusedWindow() override;
47 WmWindow* GetActiveWindow() override; 47 WmWindow* GetActiveWindow() override;
48 WmWindow* GetPrimaryRootWindow() override; 48 WmWindow* GetPrimaryRootWindow() override;
49 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 49 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
50 WmWindow* GetRootWindowForNewWindows() override; 50 WmWindow* GetRootWindowForNewWindows() override;
51 std::vector<WmWindow*> GetMruWindowList() override;
52 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override;
53 bool IsForceMaximizeOnFirstRun() override; 51 bool IsForceMaximizeOnFirstRun() override;
54 bool CanShowWindowForUser(WmWindow* window) override; 52 bool CanShowWindowForUser(WmWindow* window) override;
55 void LockCursor() override; 53 void LockCursor() override;
56 void UnlockCursor() override; 54 void UnlockCursor() override;
57 std::vector<WmWindow*> GetAllRootWindows() override; 55 std::vector<WmWindow*> GetAllRootWindows() override;
58 void RecordUserMetricsAction(wm::WmUserMetricsAction action) override; 56 void RecordUserMetricsAction(wm::WmUserMetricsAction action) override;
59 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 57 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
60 std::unique_ptr<WindowResizer> next_window_resizer, 58 std::unique_ptr<WindowResizer> next_window_resizer,
61 wm::WindowState* window_state) override; 59 wm::WindowState* window_state) override;
62 bool IsOverviewModeSelecting() override; 60 bool IsOverviewModeSelecting() override;
(...skipping 25 matching lines...) Expand all
88 86
89 base::ObserverList<WmActivationObserver> activation_observers_; 87 base::ObserverList<WmActivationObserver> activation_observers_;
90 88
91 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 89 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
92 }; 90 };
93 91
94 } // namespace mus 92 } // namespace mus
95 } // namespace ash 93 } // namespace ash
96 94
97 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 95 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698