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

Side by Side Diff: ash/aura/wm_shell_aura.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_AURA_WM_SHELL_AURA_H_ 5 #ifndef ASH_AURA_WM_SHELL_AURA_H_
6 #define ASH_AURA_WM_SHELL_AURA_H_ 6 #define ASH_AURA_WM_SHELL_AURA_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/aura/wm_lookup_aura.h" 9 #include "ash/aura/wm_lookup_aura.h"
10 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // WmShell: 33 // WmShell:
34 MruWindowTracker* GetMruWindowTracker() override; 34 MruWindowTracker* GetMruWindowTracker() override;
35 WmWindow* NewContainerWindow() override; 35 WmWindow* NewContainerWindow() override;
36 WmWindow* GetFocusedWindow() override; 36 WmWindow* GetFocusedWindow() override;
37 WmWindow* GetActiveWindow() override; 37 WmWindow* GetActiveWindow() override;
38 WmWindow* GetPrimaryRootWindow() override; 38 WmWindow* GetPrimaryRootWindow() override;
39 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 39 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
40 WmWindow* GetRootWindowForNewWindows() override; 40 WmWindow* GetRootWindowForNewWindows() override;
41 bool IsForceMaximizeOnFirstRun() override; 41 bool IsForceMaximizeOnFirstRun() override;
42 bool IsPinned() override;
42 bool CanShowWindowForUser(WmWindow* window) override; 43 bool CanShowWindowForUser(WmWindow* window) override;
43 void LockCursor() override; 44 void LockCursor() override;
44 void UnlockCursor() override; 45 void UnlockCursor() override;
45 std::vector<WmWindow*> GetAllRootWindows() override; 46 std::vector<WmWindow*> GetAllRootWindows() override;
46 void RecordUserMetricsAction(UserMetricsAction action) override; 47 void RecordUserMetricsAction(UserMetricsAction action) override;
47 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 48 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
48 std::unique_ptr<WindowResizer> next_window_resizer, 49 std::unique_ptr<WindowResizer> next_window_resizer,
49 wm::WindowState* window_state) override; 50 wm::WindowState* window_state) override;
50 void OnOverviewModeStarting() override; 51 void OnOverviewModeStarting() override;
51 void OnOverviewModeEnded() override; 52 void OnOverviewModeEnded() override;
(...skipping 30 matching lines...) Expand all
82 83
83 bool added_display_observer_ = false; 84 bool added_display_observer_ = false;
84 base::ObserverList<WmDisplayObserver> display_observers_; 85 base::ObserverList<WmDisplayObserver> display_observers_;
85 86
86 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 87 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
87 }; 88 };
88 89
89 } // namespace ash 90 } // namespace ash
90 91
91 #endif // ASH_AURA_WM_SHELL_AURA_H_ 92 #endif // ASH_AURA_WM_SHELL_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698