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

Unified Diff: ash/wm/common/window_animation_types.h

Issue 1901773002: Removes most of aura dependencies from DefaultState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wm_window_positioner
Patch Set: nit and merge Created 4 years, 8 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/wm/aura/wm_window_aura.cc ('k') | ash/wm/common/window_parenting_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/window_animation_types.h
diff --git a/ash/wm/common/window_animation_types.h b/ash/wm/common/window_animation_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..a75e2bcefafe0c32a313f987a707cf5711ed4c91
--- /dev/null
+++ b/ash/wm/common/window_animation_types.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_WM_COMMON_WINDOW_ANIMATION_TYPES_H_
+#define ASH_WM_COMMON_WINDOW_ANIMATION_TYPES_H_
+
+#include "ash/ash_export.h"
+#include "ui/wm/core/window_animations.h"
+
+namespace ash {
+namespace wm {
+
+// An extension of the window animations provided by CoreWm. These are
+// Ash-specific only.
+enum WindowVisibilityAnimationType {
+ // Window scale/rotates down to its launcher icon.
+ WINDOW_VISIBILITY_ANIMATION_TYPE_MINIMIZE =
+ ::wm::WINDOW_VISIBILITY_ANIMATION_MAX,
+ // Fade in/out using brightness and grayscale web filters.
+ WINDOW_VISIBILITY_ANIMATION_TYPE_BRIGHTNESS_GRAYSCALE
+};
+
+} // namespace wm
+} // namespace ash
+
+#endif // ASH_WM_COMMON_WINDOW_ANIMATION_TYPES_H_
« no previous file with comments | « ash/wm/aura/wm_window_aura.cc ('k') | ash/wm/common/window_parenting_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698