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

Issue 9649013: Show a different icon in the launcher for incognito windows (Closed)

Created:
8 years, 9 months ago by Zachary Kuznia
Modified:
8 years, 9 months ago
Reviewers:
Ilya Sherman, oshima, sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Show a different icon in the launcher for incognito windows BUG=116932 TEST=Open an incognito window and a normal window. Check that the icons are different Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=126256

Patch Set 1 #

Total comments: 14

Patch Set 2 : Code review fixes #

Total comments: 2

Patch Set 3 : Code review fix #

Total comments: 4

Patch Set 4 : Make is_incognito_ const #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Fix unit test #

Patch Set 8 : Re-upload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -31 lines) Patch
M ash/launcher/launcher_model.cc View 1 1 chunk +10 lines, -2 lines 0 comments Download
M ash/launcher/launcher_types.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M ash/launcher/launcher_types.cc View 1 2 3 4 1 chunk +1 line, -7 lines 0 comments Download
M ash/launcher/launcher_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M ash/launcher/tabbed_launcher_button.h View 1 2 3 4 5 chunks +20 lines, -3 lines 0 comments Download
M ash/launcher/tabbed_launcher_button.cc View 1 2 3 4 5 chunks +24 lines, -7 lines 0 comments Download
M ash/shell/shell_main.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.h View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc View 1 2 3 4 4 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/ash/launcher/launcher_updater.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/ash/launcher/launcher_updater.cc View 1 2 3 4 3 chunks +9 lines, -2 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Zachary Kuznia
Hello oshima, Please review this at: https://chromiumcodereview.appspot.com/9649013 Cheers, -Zach
8 years, 9 months ago (2012-03-09 00:49:53 UTC) #1
oshima
sky should review this. Just general comments below, but sky's comments should supersedes mine. http://codereview.chromium.org/9649013/diff/1/ash/launcher/launcher_types.h ...
8 years, 9 months ago (2012-03-09 17:54:02 UTC) #2
sky
http://codereview.chromium.org/9649013/diff/1/ash/launcher/launcher_types.cc File ash/launcher/launcher_types.cc (right): http://codereview.chromium.org/9649013/diff/1/ash/launcher/launcher_types.cc#newcode19 ash/launcher/launcher_types.cc:19: private_tab(is_private), Having to maintain these two constructors is becoming ...
8 years, 9 months ago (2012-03-09 18:18:07 UTC) #3
Zachary Kuznia
This CL currently has programmer art. Should I submit with this, or try to find ...
8 years, 9 months ago (2012-03-09 22:17:35 UTC) #4
sky
Check in the images you have now until we get real ones. http://codereview.chromium.org/9649013/diff/8002/chrome/browser/ui/views/ash/launcher/launcher_updater.cc File chrome/browser/ui/views/ash/launcher/launcher_updater.cc ...
8 years, 9 months ago (2012-03-09 22:40:46 UTC) #5
Zachary Kuznia
http://codereview.chromium.org/9649013/diff/8002/chrome/browser/ui/views/ash/launcher/launcher_updater.cc File chrome/browser/ui/views/ash/launcher/launcher_updater.cc (right): http://codereview.chromium.org/9649013/diff/8002/chrome/browser/ui/views/ash/launcher/launcher_updater.cc#newcode31 chrome/browser/ui/views/ash/launcher/launcher_updater.cc:31: LauncherUpdater::LauncherUpdater(aura::Window* window, On 2012/03/09 22:40:46, sky wrote: > A ...
8 years, 9 months ago (2012-03-09 23:23:10 UTC) #6
sky
http://codereview.chromium.org/9649013/diff/11004/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc File chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc (right): http://codereview.chromium.org/9649013/diff/11004/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc#newcode203 chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc:203: void ChromeLauncherDelegate::ConvertAppToTabbed(ash::LauncherID id) { Does this need to take ...
8 years, 9 months ago (2012-03-10 00:13:11 UTC) #7
Zachary Kuznia
http://codereview.chromium.org/9649013/diff/11004/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc File chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc (right): http://codereview.chromium.org/9649013/diff/11004/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc#newcode203 chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc:203: void ChromeLauncherDelegate::ConvertAppToTabbed(ash::LauncherID id) { On 2012/03/10 00:13:11, sky wrote: ...
8 years, 9 months ago (2012-03-10 00:28:35 UTC) #8
sky
LGTM
8 years, 9 months ago (2012-03-11 21:15:34 UTC) #9
Ilya Sherman
Reverted this due to a compile failure on the waterfall: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Builder/builds/5886/steps/compile/logs/stdio#error1
8 years, 9 months ago (2012-03-12 23:12:26 UTC) #10
willchan no longer on Chromium
Not to be too bitchy, but what happened here? I don't see a single trybot ...
8 years, 9 months ago (2012-03-12 23:19:04 UTC) #11
Zachary Kuznia
8 years, 9 months ago (2012-03-12 23:35:14 UTC) #12
The trybots weren't working on this cl because there are binary files being
added.  I thought that I had done a complete build locally to test this, but I
was incorrect.

I'm now splitting the binary files into a separate CL, and will land that first
so that I can properly use the trybots.

On 2012/03/12 23:19:04, willchan wrote:
> Not to be too bitchy, but what happened here? I don't see a single trybot
green
> run. And apparently the commit queue wasn't used. Please use trybots and the
> commit queue.
> 
> On 2012/03/12 23:12:26, Ilya Sherman wrote:
> > Reverted this due to a compile failure on the waterfall:
> >
>
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%252520Chromium...

Powered by Google App Engine
This is Rietveld 408576698