| Index: ash/launcher/launcher_view.cc
|
| diff --git a/ash/launcher/launcher_view.cc b/ash/launcher/launcher_view.cc
|
| index 44ac922a42b86ddec5ad2b1ddc3b141cc00ade55..9fba2fe7cb3fcad2bbd92fbb754ee50f2f0bfce7 100644
|
| --- a/ash/launcher/launcher_view.cc
|
| +++ b/ash/launcher/launcher_view.cc
|
| @@ -28,6 +28,7 @@
|
| #include "ui/views/controls/button/image_button.h"
|
| #include "ui/views/controls/menu/menu_model_adapter.h"
|
| #include "ui/views/controls/menu/menu_runner.h"
|
| +#include "ui/views/widget/root_view.h"
|
| #include "ui/views/widget/widget.h"
|
|
|
| using ui::Animation;
|
| @@ -683,7 +684,7 @@ string16 LauncherView::GetAccessibleName(const views::View* view) {
|
| return l10n_util::GetStringUTF16(IDS_AURA_APP_LIST_TITLE);
|
|
|
| case TYPE_BROWSER_SHORTCUT:
|
| - return l10n_util::GetStringUTF16(IDS_AURA_CYCLER_TITLE);
|
| + return l10n_util::GetStringUTF16(IDS_AURA_NEW_TAB);
|
|
|
| }
|
| return string16();
|
| @@ -716,7 +717,10 @@ void LauncherView::ButtonPressed(views::Button* sender,
|
| break;
|
|
|
| case TYPE_BROWSER_SHORTCUT:
|
| - delegate_->CreateNewTab();
|
| + if (event.flags() & ui::EF_CONTROL_DOWN)
|
| + delegate_->CreateNewWindow();
|
| + else
|
| + delegate_->CreateNewTab();
|
| break;
|
| }
|
| }
|
|
|