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

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

Issue 2157393002: Moves WindowCycleList/Controller to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback and std::move 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/mus/bridge/wm_shell_mus.cc ('k') | ash/mus/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 ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 5 #ifndef ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 6 #define ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "ash/common/shell_window_ids.h" 10 #include "ash/common/shell_window_ids.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void StackChildBelow(WmWindow* child, WmWindow* target) override; 201 void StackChildBelow(WmWindow* child, WmWindow* target) override;
202 std::vector<WmWindow*> GetChildren() override; 202 std::vector<WmWindow*> GetChildren() override;
203 void ShowResizeShadow(int component) override; 203 void ShowResizeShadow(int component) override;
204 void HideResizeShadow() override; 204 void HideResizeShadow() override;
205 void SetBoundsInScreenBehaviorForChildren( 205 void SetBoundsInScreenBehaviorForChildren(
206 BoundsInScreenBehavior behavior) override; 206 BoundsInScreenBehavior behavior) override;
207 void SetSnapsChildrenToPhysicalPixelBoundary() override; 207 void SetSnapsChildrenToPhysicalPixelBoundary() override;
208 void SnapToPixelBoundaryIfNecessary() override; 208 void SnapToPixelBoundaryIfNecessary() override;
209 void SetChildrenUseExtendedHitRegion() override; 209 void SetChildrenUseExtendedHitRegion() override;
210 void SetDescendantsStayInSameRootWindow(bool value) override; 210 void SetDescendantsStayInSameRootWindow(bool value) override;
211 std::unique_ptr<views::View> CreateViewWithRecreatedLayers() override;
211 void AddObserver(WmWindowObserver* observer) override; 212 void AddObserver(WmWindowObserver* observer) override;
212 void RemoveObserver(WmWindowObserver* observer) override; 213 void RemoveObserver(WmWindowObserver* observer) override;
213 bool HasObserver(const WmWindowObserver* observer) const override; 214 bool HasObserver(const WmWindowObserver* observer) const override;
214 215
215 private: 216 private:
216 // ui::WindowObserver: 217 // ui::WindowObserver:
217 void OnTreeChanging(const TreeChangeParams& params) override; 218 void OnTreeChanging(const TreeChangeParams& params) override;
218 void OnTreeChanged(const TreeChangeParams& params) override; 219 void OnTreeChanged(const TreeChangeParams& params) override;
219 void OnWindowReordered(::ui::Window* window, 220 void OnWindowReordered(::ui::Window* window,
220 ::ui::Window* relative_window, 221 ::ui::Window* relative_window,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // resizing easier. 257 // resizing easier.
257 bool children_use_extended_hit_region_ = false; 258 bool children_use_extended_hit_region_ = false;
258 259
259 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 260 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
260 }; 261 };
261 262
262 } // namespace mus 263 } // namespace mus
263 } // namespace ash 264 } // namespace ash
264 265
265 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 266 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698