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 namespace ash { | 7 namespace ash { |
8 | 8 |
9 LauncherItem::LauncherItem() | 9 LauncherItem::LauncherItem() |
10 : type(TYPE_TABBED), | 10 : type(TYPE_TABBED), |
11 num_tabs(1), | 11 num_tabs(1), |
12 is_incognito(false), | 12 id(0), |
| 13 status(STATUS_CLOSED) { |
| 14 } |
| 15 |
| 16 LauncherItem::LauncherItem(LauncherItemType type) |
| 17 : type(type), |
| 18 num_tabs(0), |
13 id(0), | 19 id(0), |
14 status(STATUS_CLOSED) { | 20 status(STATUS_CLOSED) { |
15 } | 21 } |
16 | 22 |
17 LauncherItem::~LauncherItem() { | 23 LauncherItem::~LauncherItem() { |
18 } | 24 } |
19 | 25 |
20 } // namespace ash | 26 } // namespace ash |
OLD | NEW |