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

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

Issue 1913473002: Makes WorkspaceWindowResizer use ash/wm/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@root_controller_observer
Patch Set: fix exo again Created 4 years, 8 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/shelf/shelf_window_watcher_unittest.cc ('k') | ash/wm/aura/wm_globals_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_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 16 matching lines...) Expand all
27 // WmGlobals: 27 // WmGlobals:
28 WmWindow* GetFocusedWindow() override; 28 WmWindow* GetFocusedWindow() override;
29 WmWindow* GetActiveWindow() override; 29 WmWindow* GetActiveWindow() override;
30 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 30 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
31 WmWindow* GetRootWindowForNewWindows() override; 31 WmWindow* GetRootWindowForNewWindows() override;
32 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override; 32 std::vector<WmWindow*> GetMruWindowListIgnoreModals() override;
33 bool IsForceMaximizeOnFirstRun() override; 33 bool IsForceMaximizeOnFirstRun() override;
34 void LockCursor() override; 34 void LockCursor() override;
35 void UnlockCursor() override; 35 void UnlockCursor() override;
36 std::vector<WmWindow*> GetAllRootWindows() override; 36 std::vector<WmWindow*> GetAllRootWindows() override;
37 UserMetricsRecorder* GetUserMetricsRecorder() override;
37 void AddActivationObserver(WmActivationObserver* observer) override; 38 void AddActivationObserver(WmActivationObserver* observer) override;
38 void RemoveActivationObserver(WmActivationObserver* observer) override; 39 void RemoveActivationObserver(WmActivationObserver* observer) override;
39 40
40 private: 41 private:
41 // aura::client::ActivationChangeObserver: 42 // aura::client::ActivationChangeObserver:
42 void OnWindowActivated(ActivationReason reason, 43 void OnWindowActivated(ActivationReason reason,
43 aura::Window* gained_active, 44 aura::Window* gained_active,
44 aura::Window* lost_active) override; 45 aura::Window* lost_active) override;
45 46
46 bool added_activation_observer_ = false; 47 bool added_activation_observer_ = false;
47 base::ObserverList<WmActivationObserver> activation_observers_; 48 base::ObserverList<WmActivationObserver> activation_observers_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura); 50 DISALLOW_COPY_AND_ASSIGN(WmGlobalsAura);
50 }; 51 };
51 52
52 } // namespace wm 53 } // namespace wm
53 } // namespace ash 54 } // namespace ash
54 55
55 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_ 56 #endif // ASH_WM_AURA_WM_GLOBALS_AURA_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_window_watcher_unittest.cc ('k') | ash/wm/aura/wm_globals_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698