diff options
author | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-12 22:56:38 +0000 |
---|---|---|
committer | zork@chromium.org <zork@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-12 22:56:38 +0000 |
commit | 33c20bb809a26b1b20b4b1bd748d033b4b2c1ddf (patch) | |
tree | 2c71ea9291fbe3c2317b46dab7397dbb08f6e5c2 /ash/launcher/launcher_unittest.cc | |
parent | 0817545fa66d1ad0233966ce73c7bd4399eb57ae (diff) | |
download | chromium_src-33c20bb809a26b1b20b4b1bd748d033b4b2c1ddf.zip chromium_src-33c20bb809a26b1b20b4b1bd748d033b4b2c1ddf.tar.gz chromium_src-33c20bb809a26b1b20b4b1bd748d033b4b2c1ddf.tar.bz2 |
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
Review URL: https://chromiumcodereview.appspot.com/9649013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126256 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/launcher/launcher_unittest.cc')
-rw-r--r-- | ash/launcher/launcher_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ash/launcher/launcher_unittest.cc b/ash/launcher/launcher_unittest.cc index b0b1be6..86b2af5 100644 --- a/ash/launcher/launcher_unittest.cc +++ b/ash/launcher/launcher_unittest.cc @@ -48,7 +48,8 @@ TEST_F(LauncherTest, LaunchApp) { int item_count = model->item_count(); // Add closed app. - LauncherItem item(TYPE_APP); + LauncherItem item; + item.type = TYPE_APP; model->Add(item_count, item); ASSERT_EQ(++button_count, test.GetButtonCount()); LauncherButton* button = test.GetButton(button_count - 1); @@ -86,7 +87,8 @@ TEST_F(LauncherTest, OpenBrowser) { int item_count = model->item_count(); // Add running tab. - LauncherItem item(TYPE_TABBED); + LauncherItem item; + item.type = TYPE_TABBED; item.status = STATUS_RUNNING; model->Add(item_count, item); ASSERT_EQ(++button_count, test.GetButtonCount()); |