| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ash/launcher/launcher_types.h" | 5 #include "ash/launcher/launcher_types.h" |
| 6 | 6 |
| 7 #include "ash/shelf/shelf_constants.h" |
| 8 |
| 7 namespace ash { | 9 namespace ash { |
| 8 | 10 |
| 9 const int kLauncherPreferredSize = 48; | |
| 10 const int kLauncherBackgroundAlpha = 204; | |
| 11 const int kInvalidImageResourceID = -1; | |
| 12 const int kInvalidLauncherID = 0; | |
| 13 const int kTimeToSwitchBackgroundMs = 1000; | |
| 14 | |
| 15 LauncherItem::LauncherItem() | 11 LauncherItem::LauncherItem() |
| 16 : type(TYPE_UNDEFINED), | 12 : type(TYPE_UNDEFINED), |
| 17 id(kInvalidLauncherID), | 13 id(kInvalidShelfID), |
| 18 status(STATUS_CLOSED) { | 14 status(STATUS_CLOSED) { |
| 19 } | 15 } |
| 20 | 16 |
| 21 LauncherItem::~LauncherItem() { | 17 LauncherItem::~LauncherItem() { |
| 22 } | 18 } |
| 23 | 19 |
| 24 LauncherItemDetails::LauncherItemDetails() | 20 LauncherItemDetails::LauncherItemDetails() |
| 25 : type(TYPE_UNDEFINED), | 21 : type(TYPE_UNDEFINED), |
| 26 image_resource_id(kInvalidImageResourceID) { | 22 image_resource_id(kInvalidImageResourceID) { |
| 27 } | 23 } |
| 28 | 24 |
| 29 LauncherItemDetails::~LauncherItemDetails() { | 25 LauncherItemDetails::~LauncherItemDetails() { |
| 30 } | 26 } |
| 31 | 27 |
| 32 } // namespace ash | 28 } // namespace ash |
| OLD | NEW |