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

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

Issue 2042913002: Converts MruWindowTracker to work with common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not equal 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/focus_cycler.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 51 std::vector<WmWindow*> GetMruWindowList() override;
52 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; 52 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override;
53 bool IsForceMaximizeOnFirstRun() override; 53 bool IsForceMaximizeOnFirstRun() override;
54 bool IsUserSessionBlocked() override; 54 bool IsUserSessionBlocked() override;
55 bool IsScreenLocked() override; 55 bool IsScreenLocked() override;
56 bool CanShowWindowForUser(WmWindow* window) override;
56 void LockCursor() override; 57 void LockCursor() override;
57 void UnlockCursor() override; 58 void UnlockCursor() override;
58 std::vector<WmWindow*> GetAllRootWindows() override; 59 std::vector<WmWindow*> GetAllRootWindows() override;
59 void RecordUserMetricsAction(wm::WmUserMetricsAction action) override; 60 void RecordUserMetricsAction(wm::WmUserMetricsAction action) override;
60 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 61 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
61 std::unique_ptr<WindowResizer> next_window_resizer, 62 std::unique_ptr<WindowResizer> next_window_resizer,
62 wm::WindowState* window_state) override; 63 wm::WindowState* window_state) override;
63 bool IsOverviewModeSelecting() override; 64 bool IsOverviewModeSelecting() override;
64 bool IsOverviewModeRestoringMinimizedWindows() override; 65 bool IsOverviewModeRestoringMinimizedWindows() override;
65 void AddActivationObserver(WmActivationObserver* observer) override; 66 void AddActivationObserver(WmActivationObserver* observer) override;
(...skipping 20 matching lines...) Expand all
86 87
87 base::ObserverList<WmActivationObserver> activation_observers_; 88 base::ObserverList<WmActivationObserver> activation_observers_;
88 89
89 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 90 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
90 }; 91 };
91 92
92 } // namespace mus 93 } // namespace mus
93 } // namespace ash 94 } // namespace ash
94 95
95 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 96 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW
« no previous file with comments | « ash/focus_cycler.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698