Lines Matching defs:service
31 app_list::AppListView* GetAppListView(AppListService* service) {
35 return static_cast<AppListServiceViews*>(service)->shower().app_list();
67 AppListService* service = test::GetAppListService();
68 EXPECT_FALSE(service->GetAppListWindow());
74 service->ShowForProfile(browser()->profile());
75 gfx::NativeWindow window = service->GetAppListWindow();
84 EXPECT_FALSE(service->GetAppListWindow());
87 service->ShowForProfile(browser()->profile());
88 EXPECT_TRUE(service->GetAppListWindow());
89 service->DismissAppList(); // Note: in Ash, this will invalidate the window.
92 EXPECT_FALSE(service->GetAppListWindow());
99 AppListService* service = test::GetAppListService();
100 service->ShowForProfile(browser()->profile());
101 EXPECT_TRUE(service->GetAppListWindow());
108 ui::test::EventGenerator generator(service->GetAppListWindow());
120 EXPECT_FALSE(service->GetAppListWindow());
142 AppListService* service = test::GetAppListService();
143 EXPECT_FALSE(service->GetAppListWindow());
145 service->ShowForProfile(browser()->profile());
146 app_list::AppListView* app_list_view = GetAppListView(service);
159 AppListControllerDelegate* controller = service->GetControllerDelegate();