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

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

Issue 2103913003: Converts MaximizeModeWindowManager to use ash/common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maximize_mode_event_handler
Patch Set: fix chrome 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_root_window_controller_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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void AddObserver(WmWindowObserver* observer) override; 211 void AddObserver(WmWindowObserver* observer) override;
212 void RemoveObserver(WmWindowObserver* observer) override; 212 void RemoveObserver(WmWindowObserver* observer) override;
213 bool HasObserver(const WmWindowObserver* observer) const override;
213 214
214 private: 215 private:
215 // mus::WindowObserver: 216 // mus::WindowObserver:
216 void OnTreeChanging(const TreeChangeParams& params) override; 217 void OnTreeChanging(const TreeChangeParams& params) override;
217 void OnTreeChanged(const TreeChangeParams& params) override; 218 void OnTreeChanged(const TreeChangeParams& params) override;
218 void OnWindowReordered(::mus::Window* window, 219 void OnWindowReordered(::mus::Window* window,
219 ::mus::Window* relative_window, 220 ::mus::Window* relative_window,
220 ::mus::mojom::OrderDirection direction) override; 221 ::mus::mojom::OrderDirection direction) override;
221 void OnWindowSharedPropertyChanged( 222 void OnWindowSharedPropertyChanged(
222 ::mus::Window* window, 223 ::mus::Window* window,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // resizing easier. 256 // resizing easier.
256 bool children_use_extended_hit_region_ = false; 257 bool children_use_extended_hit_region_ = false;
257 258
258 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 259 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
259 }; 260 };
260 261
261 } // namespace mus 262 } // namespace mus
262 } // namespace ash 263 } // namespace ash
263 264
264 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 265 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_root_window_controller_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