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

Side by Side Diff: mash/wm/bridge/wm_window_mus.h

Issue 2001623003: Splits ToplevelWindowEventHandler into two (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gyp 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
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | mash/wm/bridge/wm_window_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 MASH_WM_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef MASH_WM_BRIDGE_WM_WINDOW_MUS_H_
6 #define MASH_WM_BRIDGE_WM_WINDOW_MUS_H_ 6 #define MASH_WM_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/wm/common/wm_window.h" 10 #include "ash/wm/common/wm_window.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 bool CanMinimize() const override; 155 bool CanMinimize() const override;
156 bool CanResize() const override; 156 bool CanResize() const override;
157 bool CanActivate() const override; 157 bool CanActivate() const override;
158 void StackChildAtTop(ash::wm::WmWindow* child) override; 158 void StackChildAtTop(ash::wm::WmWindow* child) override;
159 void StackChildAtBottom(ash::wm::WmWindow* child) override; 159 void StackChildAtBottom(ash::wm::WmWindow* child) override;
160 void StackChildAbove(ash::wm::WmWindow* child, 160 void StackChildAbove(ash::wm::WmWindow* child,
161 ash::wm::WmWindow* target) override; 161 ash::wm::WmWindow* target) override;
162 void StackChildBelow(ash::wm::WmWindow* child, 162 void StackChildBelow(ash::wm::WmWindow* child,
163 ash::wm::WmWindow* target) override; 163 ash::wm::WmWindow* target) override;
164 std::vector<ash::wm::WmWindow*> GetChildren() override; 164 std::vector<ash::wm::WmWindow*> GetChildren() override;
165 void ShowResizeShadow(int component) override;
166 void HideResizeShadow() override;
165 void SnapToPixelBoundaryIfNecessary() override; 167 void SnapToPixelBoundaryIfNecessary() override;
166 void AddObserver(ash::wm::WmWindowObserver* observer) override; 168 void AddObserver(ash::wm::WmWindowObserver* observer) override;
167 void RemoveObserver(ash::wm::WmWindowObserver* observer) override; 169 void RemoveObserver(ash::wm::WmWindowObserver* observer) override;
168 170
169 private: 171 private:
170 // mus::WindowObserver: 172 // mus::WindowObserver:
171 void OnTreeChanged(const TreeChangeParams& params) override; 173 void OnTreeChanged(const TreeChangeParams& params) override;
172 void OnWindowReordered(mus::Window* window, 174 void OnWindowReordered(mus::Window* window,
173 mus::Window* relative_window, 175 mus::Window* relative_window,
174 mus::mojom::OrderDirection direction) override; 176 mus::mojom::OrderDirection direction) override;
(...skipping 25 matching lines...) Expand all
200 202
201 ui::WindowShowState restore_show_state_ = ui::SHOW_STATE_DEFAULT; 203 ui::WindowShowState restore_show_state_ = ui::SHOW_STATE_DEFAULT;
202 204
203 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 205 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
204 }; 206 };
205 207
206 } // namespace wm 208 } // namespace wm
207 } // namespace mash 209 } // namespace mash
208 210
209 #endif // MASH_WM_BRIDGE_WM_WINDOW_MUS_H_ 211 #endif // MASH_WM_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/wm/toplevel_window_event_handler.cc ('k') | mash/wm/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698