Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3639)

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_unittest.cc

Issue 1483593002: arc: Hide app list view on ARC app launch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b2_app_list
Patch Set: nits addressed Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/chrome_app_list_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_unittest.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
index b43abf54f145d22ebee1152047dce315a11df740..c72110be9266834b5876fdf0d31117ed3a98156a 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc
@@ -192,6 +192,8 @@ class ArcAppModelBuilderTest : public AppListTestBase {
}
+ AppListControllerDelegate* controller() { return controller_.get(); }
+
arc::FakeArcBridgeService* bridge_service() { return bridge_service_.get(); }
const std::vector<arc::AppInfo>& fake_apps() const { return fake_apps_; }
@@ -270,6 +272,9 @@ TEST_F(ArcAppModelBuilderTest, StopServiceDisablesApps) {
}
TEST_F(ArcAppModelBuilderTest, LaunchApps) {
+ // Disable attempts to dismiss app launcher view.
+ ChromeAppListItem::OverrideAppListControllerDelegateForTesting(controller());
+
bridge_service()->SetReady();
bridge_service()->SendRefreshAppList(fake_apps());
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/chrome_app_list_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698