| Index: chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc b/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| index 9aa7fcc9e9a809b556fe2c376d27ba39344daefc..9893dc38458ba5efde06f505116d5955a59ef458 100644
|
| --- a/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| +++ b/chrome/browser/ui/ash/launcher/arc_app_launcher_browsertest.cc
|
| @@ -19,6 +19,7 @@
|
| #include "chromeos/chromeos_switches.h"
|
| #include "content/public/test/browser_test_utils.h"
|
| #include "mojo/common/common_type_converters.h"
|
| +#include "ui/events/event_constants.h"
|
|
|
| namespace mojo {
|
|
|
| @@ -255,7 +256,7 @@ IN_PROC_BROWSER_TEST_P(ArcAppDeferredLauncherBrowserTest, StartAppDeferred) {
|
| EXPECT_FALSE(shelf_delegate()->GetShelfIDForAppID(app_id));
|
|
|
| // Launching non-ready Arc app creates item on shelf and spinning animation.
|
| - arc::LaunchApp(profile(), app_id);
|
| + arc::LaunchApp(profile(), app_id, ui::EF_LEFT_MOUSE_BUTTON);
|
| EXPECT_TRUE(shelf_delegate()->GetShelfIDForAppID(app_id));
|
| AppAnimatedWaiter(app_id).Wait();
|
|
|
| @@ -373,7 +374,7 @@ IN_PROC_BROWSER_TEST_F(ArcAppLauncherBrowserTest, IsAppOpen) {
|
| AppListService* service = AppListService::Get();
|
| AppListControllerDelegate* delegate = service->GetControllerDelegate();
|
| EXPECT_FALSE(delegate->IsAppOpen(app_id));
|
| - arc::LaunchApp(profile(), app_id);
|
| + arc::LaunchApp(profile(), app_id, ui::EF_LEFT_MOUSE_BUTTON);
|
| EXPECT_FALSE(delegate->IsAppOpen(app_id));
|
| // Simulate task creation so the app is marked as running/open.
|
| std::unique_ptr<ArcAppListPrefs::AppInfo> info = app_prefs()->GetApp(app_id);
|
|
|