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

Side by Side Diff: ash/wm/aura/wm_globals_aura.h

Issue 1929023002: Refactors WindowResizers to use ash/wm/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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_WM_AURA_WM_GLOBALS_AURA_H_ 5 #ifndef ASH_WM_AURA_WM_GLOBALS_AURA_H_
6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_ 6 #define ASH_WM_AURA_WM_GLOBALS_AURA_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 21 matching lines...) Expand all
32 WmWindow* GetFocusedWindow() override; 32 WmWindow* GetFocusedWindow() override;
33 WmWindow* GetActiveWindow() override; 33 WmWindow* GetActiveWindow() override;
34 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 34 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
35 WmWindow* GetRootWindowForNewWindows() override; 35 WmWindow* GetRootWindowForNewWindows() override;
36 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; 36 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override;
37 bool IsForceMaximizeOnFirstRun() override; 37 bool IsForceMaximizeOnFirstRun() override;
38 bool IsScreenLocked() override; 38 bool IsScreenLocked() override;
39 void LockCursor() override; 39 void LockCursor() override;
40 void UnlockCursor() override; 40 void UnlockCursor() override;
41 std::vector<WmWindow*> GetAllRootWindows() override; 41 std::vector<WmWindow*> GetAllRootWindows() override;
42 UserMetricsRecorder* GetUserMetricsRecorder() override; 42 void RecordUserMetricsAction(WmUserMetricsAction action) override;
43 std::unique_ptr<WindowResizer> CreateDragWindowResizer(
44 std::unique_ptr<WindowResizer> next_window_resizer,
45 wm::WindowState* window_state) override;
46 bool IsOverviewModeSelecting() override;
47 bool IsOverviewModeRestoringMinimizedWindows() override;
43 void AddActivationObserver(WmActivationObserver* observer) override; 48 void AddActivationObserver(WmActivationObserver* observer) override;
44 void RemoveActivationObserver(WmActivationObserver* observer) override; 49 void RemoveActivationObserver(WmActivationObserver* observer) override;
45 void AddDisplayObserver(WmDisplayObserver* observer) override; 50 void AddDisplayObserver(WmDisplayObserver* observer) override;
46 void RemoveDisplayObserver(WmDisplayObserver* observer) override; 51 void RemoveDisplayObserver(WmDisplayObserver* observer) override;
47 void AddOverviewModeObserver(WmOverviewModeObserver* observer) override; 52 void AddOverviewModeObserver(WmOverviewModeObserver* observer) override;
48 void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) override; 53 void RemoveOverviewModeObserver(WmOverviewModeObserver* observer) override;
49 54
50 private: 55 private:
51 // aura::client::ActivationChangeObserver: 56 // aura::client::ActivationChangeObserver:
52 void OnWindowActivated(ActivationReason reason, 57 void OnWindowActivated(ActivationReason reason,
(...skipping 14 matching lines...) Expand all
67 72
68 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_; 73 base::ObserverList<WmOverviewModeObserver> overview_mode_observers_;
69 74
70 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); 75 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura);
71 }; 76 };
72 77
73 } // namespace wm 78 } // namespace wm
74 } // namespace ash 79 } // namespace ash
75 80
76 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ 81 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698