summaryrefslogtreecommitdiff
path: root/chromium/ash/launcher/launcher_types.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/launcher/launcher_types.cc')
-rw-r--r--chromium/ash/launcher/launcher_types.cc32
1 files changed, 32 insertions, 0 deletions
diff --git a/chromium/ash/launcher/launcher_types.cc b/chromium/ash/launcher/launcher_types.cc
new file mode 100644
index 00000000000..67dc5729c94
--- /dev/null
+++ b/chromium/ash/launcher/launcher_types.cc
@@ -0,0 +1,32 @@
+// Copyright (c) 2012 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.
+
+#include "ash/launcher/launcher_types.h"
+
+namespace ash {
+
+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),
+ id(kInvalidLauncherID),
+ status(STATUS_CLOSED) {
+}
+
+LauncherItem::~LauncherItem() {
+}
+
+LauncherItemDetails::LauncherItemDetails()
+ : type(TYPE_UNDEFINED),
+ image_resource_id(kInvalidImageResourceID) {
+}
+
+LauncherItemDetails::~LauncherItemDetails() {
+}
+
+} // namespace ash