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

Unified Diff: ash/launcher/launcher_view.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 | « ash/launcher/launcher_unittest.cc ('k') | ash/launcher/tabbed_launcher_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_view.cc
===================================================================
--- ash/launcher/launcher_view.cc (revision 126259)
+++ ash/launcher/launcher_view.cc (working copy)
@@ -332,13 +332,7 @@
views::View* view = NULL;
switch (item.type) {
case TYPE_TABBED: {
- TabbedLauncherButton* button =
- TabbedLauncherButton::Create(
- this,
- this,
- item.is_incognito ?
- TabbedLauncherButton::STATE_INCOGNITO :
- TabbedLauncherButton::STATE_NOT_INCOGNITO);
+ TabbedLauncherButton* button = TabbedLauncherButton::Create(this, this);
button->SetTabImage(item.image);
button->set_context_menu_controller(this);
ReflectItemStatus(item, button);
« no previous file with comments | « ash/launcher/launcher_unittest.cc ('k') | ash/launcher/tabbed_launcher_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698