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

Unified Diff: ash/launcher/launcher_types.h

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: Code review fix 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.h
diff --git a/ash/launcher/launcher_types.h b/ash/launcher/launcher_types.h
index a8ddb317427c745b4faf585a62eb2ecf01ca4b03..1b721fbbb96d76fe2e834416ff7d3f60545726f3 100644
--- a/ash/launcher/launcher_types.h
+++ b/ash/launcher/launcher_types.h
@@ -36,7 +36,6 @@ enum ASH_EXPORT LauncherItemType {
struct ASH_EXPORT LauncherItem {
LauncherItem();
- explicit LauncherItem(LauncherItemType type);
~LauncherItem();
LauncherItemType type;
@@ -44,6 +43,9 @@ struct ASH_EXPORT LauncherItem {
// Number of tabs. Only used if this is TYPE_TABBED.
int num_tabs;
+ // Whether it is incognito. Only used if this is TYPE_TABBED.
+ bool is_incognito;
+
// Image to display in the launcher. If this item is TYPE_TABBED the image is
// a favicon image.
SkBitmap image;

Powered by Google App Engine
This is Rietveld 408576698