OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/shelf/shelf_item_types.h" | 5 #include "ash/shelf/shelf_item_types.h" |
6 | 6 |
7 #include "ash/shelf/shelf_constants.h" | 7 #include "ash/shelf/shelf_constants.h" |
8 | 8 |
9 namespace ash { | 9 namespace ash { |
10 | 10 |
| 11 ShelfItem::ShelfItem() |
| 12 : type(TYPE_UNDEFINED), |
| 13 id(kInvalidShelfID), |
| 14 status(STATUS_CLOSED) { |
| 15 } |
| 16 |
| 17 ShelfItem::~ShelfItem() { |
| 18 } |
| 19 |
11 ShelfItemDetails::ShelfItemDetails() | 20 ShelfItemDetails::ShelfItemDetails() |
12 : type(TYPE_UNDEFINED), | 21 : type(TYPE_UNDEFINED), |
13 image_resource_id(kInvalidImageResourceID) { | 22 image_resource_id(kInvalidImageResourceID) { |
14 } | 23 } |
15 | 24 |
16 ShelfItemDetails::~ShelfItemDetails() { | 25 ShelfItemDetails::~ShelfItemDetails() { |
17 } | 26 } |
18 | 27 |
19 } // namespace ash | 28 } // namespace ash |
OLD | NEW |