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

Unified Diff: ash/launcher/launcher_model.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: Re-upload 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
« no previous file with comments | « no previous file | ash/launcher/launcher_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_model.cc
diff --git a/ash/launcher/launcher_model.cc b/ash/launcher/launcher_model.cc
index 33aa5bb30f3d3d36ca06328031caf05db656af70..34de1d28fa30e6aad89aff7a23c2c115259994de 100644
--- a/ash/launcher/launcher_model.cc
+++ b/ash/launcher/launcher_model.cc
@@ -10,8 +10,16 @@
namespace ash {
LauncherModel::LauncherModel() : next_id_(1) {
- Add(0, LauncherItem(TYPE_APP_LIST));
- Add(1, LauncherItem(TYPE_BROWSER_SHORTCUT));
+ LauncherItem app_list;
+ app_list.type = TYPE_APP_LIST;
+ app_list.is_incognito = false;
+
+ LauncherItem browser_shortcut;
+ browser_shortcut.type = TYPE_BROWSER_SHORTCUT;
+ browser_shortcut.is_incognito = false;
+
+ Add(0, app_list);
+ Add(1, browser_shortcut);
}
LauncherModel::~LauncherModel() {
« no previous file with comments | « no previous file | ash/launcher/launcher_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698