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 576874ac79c1d74eb1b00f989adf1dd5df20b38b..12114251a5a37383a0804a4f0f37e73b716d39a4 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 { |
@@ -259,7 +260,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_NONE); |
stevenjb
2016/11/29 20:17:10
It seems to me like the default event for these sh
Luis Héctor Chávez
2016/11/29 20:50:46
It does not have any perceivable difference from t
|
EXPECT_TRUE(shelf_delegate()->GetShelfIDForAppID(app_id)); |
AppAnimatedWaiter(app_id).Wait(); |
@@ -377,7 +378,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_NONE); |
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); |