Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: ash/launcher/launcher_types.cc

Issue 9649013: Show a different icon in the launcher for incognito windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 private_tab(false),
12 id(0) { 13 id(0) {
13 } 14 }
14 15
15 LauncherItem::LauncherItem(LauncherItemType type) 16 LauncherItem::LauncherItem(LauncherItemType type, bool is_private)
16 : type(type), 17 : type(type),
17 num_tabs(0), 18 num_tabs(0),
19 private_tab(is_private),
sky 2012/03/09 18:18:08 Having to maintain these two constructors is becom
Zachary Kuznia 2012/03/09 22:17:35 Done.
18 id(0) { 20 id(0) {
19 } 21 }
20 22
21 LauncherItem::~LauncherItem() { 23 LauncherItem::~LauncherItem() {
22 } 24 }
23 25
24 } // namespace ash 26 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698