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

Unified Diff: ash/common/wm_window.h

Issue 2320273002: Refactors DimWindow and moves to ash/common (Closed)
Patch Set: feedback and member initializer ordering Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/common/wm_window_user_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index 6dfd2cad7ef6a110c7bf055cadf9382b651b3dff..3abddc2ad7816aa7ddefdaec9bb5ac482613d8aa 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -64,6 +64,8 @@ class ASH_EXPORT WmWindow {
using Windows = std::vector<WmWindow*>;
+ virtual void Destroy() = 0;
+
WmWindow* GetRootWindow() {
return const_cast<WmWindow*>(
const_cast<const WmWindow*>(this)->GetRootWindow());
@@ -161,6 +163,9 @@ class ASH_EXPORT WmWindow {
std::unique_ptr<WmLayoutManager> layout_manager) = 0;
virtual WmLayoutManager* GetLayoutManager() = 0;
+ // See wm::SetWindowVisibilityChangesAnimated() for details on what this
+ // does.
+ virtual void SetVisibilityChangesAnimated() = 0;
// |type| is WindowVisibilityAnimationType. Has to be an int to match aura.
virtual void SetVisibilityAnimationType(int type) = 0;
virtual void SetVisibilityAnimationDuration(base::TimeDelta delta) = 0;
« no previous file with comments | « ash/common/wm_shell.h ('k') | ash/common/wm_window_user_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698