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

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

Issue 2194353002: mash: Migrate ScopedTargetRootWindow to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: non-virtual Created 4 years, 4 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/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/mus/bridge/wm_shell_mus.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_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 <memory> 10 #include <memory>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 AcceleratorControllerDelegateMus* accelerator_controller_delegate() { 53 AcceleratorControllerDelegateMus* accelerator_controller_delegate() {
54 return accelerator_controller_delegate_.get(); 54 return accelerator_controller_delegate_.get();
55 } 55 }
56 56
57 // WmShell: 57 // WmShell:
58 WmWindow* NewContainerWindow() override; 58 WmWindow* NewContainerWindow() override;
59 WmWindow* GetFocusedWindow() override; 59 WmWindow* GetFocusedWindow() override;
60 WmWindow* GetActiveWindow() override; 60 WmWindow* GetActiveWindow() override;
61 WmWindow* GetPrimaryRootWindow() override; 61 WmWindow* GetPrimaryRootWindow() override;
62 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override; 62 WmWindow* GetRootWindowForDisplayId(int64_t display_id) override;
63 WmWindow* GetRootWindowForNewWindows() override;
64 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override; 63 const DisplayInfo& GetDisplayInfo(int64_t display_id) const override;
65 bool IsActiveDisplayId(int64_t display_id) const override; 64 bool IsActiveDisplayId(int64_t display_id) const override;
66 bool IsForceMaximizeOnFirstRun() override; 65 bool IsForceMaximizeOnFirstRun() override;
67 bool IsPinned() override; 66 bool IsPinned() override;
68 void SetPinnedWindow(WmWindow* window) override; 67 void SetPinnedWindow(WmWindow* window) override;
69 bool CanShowWindowForUser(WmWindow* window) override; 68 bool CanShowWindowForUser(WmWindow* window) override;
70 void LockCursor() override; 69 void LockCursor() override;
71 void UnlockCursor() override; 70 void UnlockCursor() override;
72 std::vector<WmWindow*> GetAllRootWindows() override; 71 std::vector<WmWindow*> GetAllRootWindows() override;
73 void RecordUserMetricsAction(UserMetricsAction action) override; 72 void RecordUserMetricsAction(UserMetricsAction action) override;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 118
120 base::ObserverList<WmActivationObserver> activation_observers_; 119 base::ObserverList<WmActivationObserver> activation_observers_;
121 120
122 DISALLOW_COPY_AND_ASSIGN(WmShellMus); 121 DISALLOW_COPY_AND_ASSIGN(WmShellMus);
123 }; 122 };
124 123
125 } // namespace mus 124 } // namespace mus
126 } // namespace ash 125 } // namespace ash
127 126
128 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_ 127 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_H_
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/mus/bridge/wm_shell_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698