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

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

Issue 2091263004: Moves a couple of the maximize mode classes to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback 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_window.h ('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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 gfx::Rect GetBoundsInScreen() const override; 162 gfx::Rect GetBoundsInScreen() const override;
163 const gfx::Rect& GetBounds() const override; 163 const gfx::Rect& GetBounds() const override;
164 gfx::Rect GetTargetBounds() override; 164 gfx::Rect GetTargetBounds() override;
165 void ClearRestoreBounds() override; 165 void ClearRestoreBounds() override;
166 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; 166 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override;
167 gfx::Rect GetRestoreBoundsInScreen() const override; 167 gfx::Rect GetRestoreBoundsInScreen() const override;
168 bool Contains(const WmWindow* other) const override; 168 bool Contains(const WmWindow* other) const override;
169 void SetShowState(ui::WindowShowState show_state) override; 169 void SetShowState(ui::WindowShowState show_state) override;
170 ui::WindowShowState GetShowState() const override; 170 ui::WindowShowState GetShowState() const override;
171 void SetRestoreShowState(ui::WindowShowState show_state) override; 171 void SetRestoreShowState(ui::WindowShowState show_state) override;
172 void SetRestoreOverrides(const gfx::Rect& bounds_override,
173 ui::WindowShowState window_state_override) override;
172 void SetLockedToRoot(bool value) override; 174 void SetLockedToRoot(bool value) override;
173 void SetCapture() override; 175 void SetCapture() override;
174 bool HasCapture() override; 176 bool HasCapture() override;
175 void ReleaseCapture() override; 177 void ReleaseCapture() override;
176 bool HasRestoreBounds() const override; 178 bool HasRestoreBounds() const override;
177 void SetAlwaysOnTop(bool value) override; 179 void SetAlwaysOnTop(bool value) override;
178 bool IsAlwaysOnTop() const override; 180 bool IsAlwaysOnTop() const override;
179 void Hide() override; 181 void Hide() override;
180 void Show() override; 182 void Show() override;
181 views::Widget* GetInternalWidget() override; 183 views::Widget* GetInternalWidget() override;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // resizing easier. 255 // resizing easier.
254 bool children_use_extended_hit_region_ = false; 256 bool children_use_extended_hit_region_ = false;
255 257
256 DISALLOW_COPY_AND_ASSIGN(WmWindowMus); 258 DISALLOW_COPY_AND_ASSIGN(WmWindowMus);
257 }; 259 };
258 260
259 } // namespace mus 261 } // namespace mus
260 } // namespace ash 262 } // namespace ash
261 263
262 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_ 264 #endif // ASH_MUS_BRIDGE_WM_WINDOW_MUS_H_
OLDNEW
« no previous file with comments | « ash/common/wm_window.h ('k') | ash/mus/bridge/wm_window_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698