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

Side by Side Diff: ash/aura/wm_shell_aura.h

Issue 2118643002: Move MaximizeModeController into ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: doh Created 4 years, 5 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/ash.gyp ('k') | ash/aura/wm_shell_aura.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_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 17 matching lines...) Expand all
28 void PrepareForShutdown(); 28 void PrepareForShutdown();
29 29
30 // WmShell: 30 // WmShell:
31 WmWindow* NewContainerWindow() override; 31 WmWindow* NewContainerWindow() override;
32 WmWindow* GetFocusedWindow() override; 32 WmWindow* GetFocusedWindow() override;
33 WmWindow* GetActiveWindow() override; 33 WmWindow* GetActiveWindow() override;
34 WmWindow* GetPrimaryRootWindow() override; 34 WmWindow* GetPrimaryRootWindow() override;
35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 35 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
36 WmWindow* GetRootWindowForNewWindows() override; 36 WmWindow* GetRootWindowForNewWindows() override;
37 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; 37 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override;
38 bool IsActiveDisplayId(int64_t display_id) const override;
38 bool IsForceMaximizeOnFirstRun() override; 39 bool IsForceMaximizeOnFirstRun() override;
39 bool IsPinned() override; 40 bool IsPinned() override;
40 void SetPinnedWindow(WmWindow* window) override; 41 void SetPinnedWindow(WmWindow* window) override;
41 bool CanShowWindowForUser(WmWindow* window) override; 42 bool CanShowWindowForUser(WmWindow* window) override;
42 void LockCursor() override; 43 void LockCursor() override;
43 void UnlockCursor() override; 44 void UnlockCursor() override;
44 std::vector<WmWindow*> GetAllRootWindows() override; 45 std::vector<WmWindow*> GetAllRootWindows() override;
45 void RecordUserMetricsAction(UserMetricsAction action) override; 46 void RecordUserMetricsAction(UserMetricsAction action) override;
46 std::unique_ptr<WindowResizer> CreateDragWindowResizer( 47 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
47 std::unique_ptr<WindowResizer> next_window_resizer, 48 std::unique_ptr<WindowResizer> next_window_resizer,
48 wm::WindowState* window_state) override; 49 wm::WindowState* window_state) override;
49 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler() 50 std::unique_ptr<wm::MaximizeModeEventHandler> CreateMaximizeModeEventHandler()
50 override; 51 override;
52 std::unique_ptr<ScopedDisableInternalMouseAndKeyboard>
53 CreateScopedDisableInternalMouseAndKeyboard() override;
51 void OnOverviewModeStarting() override; 54 void OnOverviewModeStarting() override;
52 void OnOverviewModeEnded() override; 55 void OnOverviewModeEnded() override;
53 AccessibilityDelegate* GetAccessibilityDelegate() override; 56 AccessibilityDelegate* GetAccessibilityDelegate() override;
54 SessionStateDelegate* GetSessionStateDelegate() override; 57 SessionStateDelegate* GetSessionStateDelegate() override;
55 void AddActivationObserver(WmActivationObserver* observer) override; 58 void AddActivationObserver(WmActivationObserver* observer) override;
56 void RemoveActivationObserver(WmActivationObserver* observer) override; 59 void RemoveActivationObserver(WmActivationObserver* observer) override;
57 void AddDisplayObserver(WmDisplayObserver* observer) override; 60 void AddDisplayObserver(WmDisplayObserver* observer) override;
58 void RemoveDisplayObserver(WmDisplayObserver* observer) override; 61 void RemoveDisplayObserver(WmDisplayObserver* observer) override;
59 void AddPointerWatcher(views::PointerWatcher* watcher) override; 62 void AddPointerWatcher(views::PointerWatcher* watcher) override;
60 void RemovePointerWatcher(views::PointerWatcher* watcher) override; 63 void RemovePointerWatcher(views::PointerWatcher* watcher) override;
(...skipping 19 matching lines...) Expand all
80 83
81 bool added_display_observer_ = false; 84 bool added_display_observer_ = false;
82 base::ObserverList<WmDisplayObserver> display_observers_; 85 base::ObserverList<WmDisplayObserver> display_observers_;
83 86
84 DISALLOW_COPY_AND_ASSIGN(WmShellAura); 87 DISALLOW_COPY_AND_ASSIGN(WmShellAura);
85 }; 88 };
86 89
87 } // namespace ash 90 } // namespace ash
88 91
89 #endif // ASH_AURA_WM_SHELL_AURA_H_ 92 #endif // ASH_AURA_WM_SHELL_AURA_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/aura/wm_shell_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698