| Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| index 61f6d69326e57659657f7b97e667960d4e1112db..861ec28d8fac2975ad1dfac1b89cab46e7cd4f7c 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc
|
| @@ -44,6 +44,7 @@
|
| #include "chrome/browser/sessions/session_service.h"
|
| #include "chrome/browser/sessions/session_service_factory.h"
|
| #include "chrome/browser/shell_integration.h"
|
| +#include "chrome/browser/ui/app_list/app_list_controller.h"
|
| #include "chrome/browser/ui/browser_commands.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| @@ -327,6 +328,11 @@ bool StartupBrowserCreatorImpl::Launch(Profile* profile,
|
| }
|
| }
|
|
|
| + if (command_line_.HasSwitch(switches::kShowAppList)) {
|
| + app_list_controller::ShowAppList();
|
| + return true;
|
| + }
|
| +
|
| // Open the required browser windows and tabs. First, see if
|
| // we're being run as an application window. If so, the user
|
| // opened an app shortcut. Don't restore tabs or open initial
|
|
|