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

Unified Diff: ash/launcher/launcher_model.cc

Issue 9692021: Revert 126256 - Show a different icon in the launcher for incognito windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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
« 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
===================================================================
--- ash/launcher/launcher_model.cc (revision 126259)
+++ ash/launcher/launcher_model.cc (working copy)
@@ -10,16 +10,8 @@
namespace ash {
LauncherModel::LauncherModel() : next_id_(1) {
- 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);
+ Add(0, LauncherItem(TYPE_APP_LIST));
+ Add(1, LauncherItem(TYPE_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