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

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

Issue 2072853002: Implement "pinned" mode in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
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 46
47 // WmShell: 47 // WmShell:
48 MruWindowTracker* GetMruWindowTracker() override; 48 MruWindowTracker* GetMruWindowTracker() override;
49 WmWindow* NewContainerWindow() override; 49 WmWindow* NewContainerWindow() override;
50 WmWindow* GetFocusedWindow() override; 50 WmWindow* GetFocusedWindow() override;
51 WmWindow* GetActiveWindow() override; 51 WmWindow* GetActiveWindow() override;
52 WmWindow* GetPrimaryRootWindow() override; 52 WmWindow* GetPrimaryRootWindow() override;
53 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 53 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
54 WmWindow* GetRootWindowForNewWindows() override; 54 WmWindow* GetRootWindowForNewWindows() override;
55 bool IsForceMaximizeOnFirstRun() override; 55 bool IsForceMaximizeOnFirstRun() override;
56 bool IsPinned() override;
56 bool CanShowWindowForUser(WmWindow* window) override; 57 bool CanShowWindowForUser(WmWindow* window) override;
57 void LockCursor() override; 58 void LockCursor() override;
58 void UnlockCursor() override; 59 void UnlockCursor() override;
59 std::vector<WmWindow*> GetAllRootWindows() override; 60 std::vector<WmWindow*> GetAllRootWindows() override;
60 void RecordUserMetricsAction(UserMetricsAction action) override; 61 void RecordUserMetricsAction(UserMetricsAction action) override;
61 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 62 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
62 std::unique_ptr<WindowResizer> next_window_resizer, 63 std::unique_ptr<WindowResizer> next_window_resizer,
63 wm::WindowState* window_state) override; 64 wm::WindowState* window_state) override;
64 void OnOverviewModeStarting() override; 65 void OnOverviewModeStarting() override;
65 void OnOverviewModeEnded() override; 66 void OnOverviewModeEnded() override;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 99
99 base::ObserverList<WmActivationObserver> activation_observers_; 100 base::ObserverList<WmActivationObserver> activation_observers_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 102 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
102 }; 103 };
103 104
104 } // namespace mus 105 } // namespace mus
105 } // namespace ash 106 } // namespace ash
106 107
107 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 108 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698