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

Side by Side Diff: ash/common/wm_window.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/common/wm_root_window_controller.h ('k') | ash/mus/bridge/wm_root_window_controller_mus.h » ('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_COMMON_WM_WINDOW_H_ 5 #ifndef ASH_COMMON_WM_WINDOW_H_
6 #define ASH_COMMON_WM_WINDOW_H_ 6 #define ASH_COMMON_WM_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 // Makes the hit region for children slightly larger for easier resizing. 267 // Makes the hit region for children slightly larger for easier resizing.
268 virtual void SetChildrenUseExtendedHitRegion() = 0; 268 virtual void SetChildrenUseExtendedHitRegion() = 0;
269 269
270 // Sets whether descendants of this should not be moved to a different 270 // Sets whether descendants of this should not be moved to a different
271 // container. This is used by SetBoundsInScreen(). 271 // container. This is used by SetBoundsInScreen().
272 virtual void SetDescendantsStayInSameRootWindow(bool value) = 0; 272 virtual void SetDescendantsStayInSameRootWindow(bool value) = 0;
273 273
274 virtual void AddObserver(WmWindowObserver* observer) = 0; 274 virtual void AddObserver(WmWindowObserver* observer) = 0;
275 virtual void RemoveObserver(WmWindowObserver* observer) = 0; 275 virtual void RemoveObserver(WmWindowObserver* observer) = 0;
276 virtual bool HasObserver(const WmWindowObserver* observer) const = 0;
276 277
277 protected: 278 protected:
278 virtual ~WmWindow() {} 279 virtual ~WmWindow() {}
279 }; 280 };
280 281
281 } // namespace ash 282 } // namespace ash
282 283
283 #endif // ASH_COMMON_WM_WINDOW_H_ 284 #endif // ASH_COMMON_WM_WINDOW_H_
OLDNEW
« no previous file with comments | « ash/common/wm_root_window_controller.h ('k') | ash/mus/bridge/wm_root_window_controller_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698