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