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

Unified Diff: ash/common/wm/wm_types.cc

Issue 2625113004: Unify window fullscreen and minimizing implementation (Closed)
Patch Set: Update Created 3 years, 11 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
Index: ash/common/wm/wm_types.cc
diff --git a/ash/common/wm/wm_types.cc b/ash/common/wm/wm_types.cc
index 2e35f990b79da488eeb7a8ca988922b74c8b26bd..914605248962ac01e3208aacb32beb97af80c9ac 100644
--- a/ash/common/wm/wm_types.cc
+++ b/ash/common/wm/wm_types.cc
@@ -40,6 +40,8 @@ ui::WindowShowState ToWindowShowState(WindowStateType type) {
case WINDOW_STATE_TYPE_PINNED:
case WINDOW_STATE_TYPE_TRUSTED_PINNED:
return ui::SHOW_STATE_FULLSCREEN;
+ case WINDOW_STATE_TYPE_PREVIOUS:
+ return ui::SHOW_STATE_PREVIOUS;
case WINDOW_STATE_TYPE_END:
NOTREACHED();
}
« no previous file with comments | « ash/common/wm/wm_types.h ('k') | ash/common/wm_window.cc » ('j') | ui/base/ui_base_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698