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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ash/launcher/launcher_types.cc
diff --git a/ash/launcher/launcher_types.cc b/ash/launcher/launcher_types.cc
index 009443008f5f47bc0a86ea5bd81a5e9a3111b797..093f8d915bfb5072d315cf79f477f9f22b2cbaee 100644
--- a/ash/launcher/launcher_types.cc
+++ b/ash/launcher/launcher_types.cc
@@ -9,12 +9,14 @@ namespace ash {
LauncherItem::LauncherItem()
: type(TYPE_TABBED),
num_tabs(1),
+ private_tab(false),
id(0) {
}
-LauncherItem::LauncherItem(LauncherItemType type)
+LauncherItem::LauncherItem(LauncherItemType type, bool is_private)
: type(type),
num_tabs(0),
+ 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.
id(0) {
}

Powered by Google App Engine
This is Rietveld 408576698