summaryrefslogtreecommitdiffstats
path: root/ash/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher')
-rw-r--r--ash/launcher/launcher_types.cc1
-rw-r--r--ash/launcher/launcher_types.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/ash/launcher/launcher_types.cc b/ash/launcher/launcher_types.cc
index 37aa7cc3..67dc572 100644
--- a/ash/launcher/launcher_types.cc
+++ b/ash/launcher/launcher_types.cc
@@ -10,6 +10,7 @@ const int kLauncherPreferredSize = 48;
const int kLauncherBackgroundAlpha = 204;
const int kInvalidImageResourceID = -1;
const int kInvalidLauncherID = 0;
+const int kTimeToSwitchBackgroundMs = 1000;
LauncherItem::LauncherItem()
: type(TYPE_UNDEFINED),
diff --git a/ash/launcher/launcher_types.h b/ash/launcher/launcher_types.h
index 2d09dae..bbb1bbc 100644
--- a/ash/launcher/launcher_types.h
+++ b/ash/launcher/launcher_types.h
@@ -27,6 +27,9 @@ extern const int kInvalidImageResourceID;
extern const int kInvalidLauncherID;
+// Animation duration for switching black shelf and dock background on and off.
+ASH_EXPORT extern const int kTimeToSwitchBackgroundMs;
+
// Type the LauncherItem represents.
enum LauncherItemType {
// Represents a running app panel.