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

Side by Side Diff: chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc

Issue 687903003: Cleanup: Remove unneeded ui_test_utils.h includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros Created 6 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/app_list/app_list_service.h" 5 #include "chrome/browser/ui/app_list/app_list_service.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/json/json_file_value_serializer.h" 8 #include "base/json/json_file_value_serializer.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/profiles/profile_manager.h" 15 #include "chrome/browser/profiles/profile_manager.h"
16 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" 16 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
17 #include "chrome/browser/ui/app_list/test/chrome_app_list_test_support.h" 17 #include "chrome/browser/ui/app_list/test/chrome_app_list_test_support.h"
18 #include "chrome/browser/ui/browser.h" 18 #include "chrome/browser/ui/browser.h"
19 #include "chrome/browser/ui/host_desktop.h" 19 #include "chrome/browser/ui/host_desktop.h"
20 #include "chrome/browser/ui/startup/startup_browser_creator.h" 20 #include "chrome/browser/ui/startup/startup_browser_creator.h"
21 #include "chrome/common/chrome_constants.h" 21 #include "chrome/common/chrome_constants.h"
22 #include "chrome/common/chrome_paths.h" 22 #include "chrome/common/chrome_paths.h"
23 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
24 #include "chrome/common/pref_names.h" 24 #include "chrome/common/pref_names.h"
25 #include "chrome/test/base/in_process_browser_test.h" 25 #include "chrome/test/base/in_process_browser_test.h"
26 #include "chrome/test/base/ui_test_utils.h" 26 #include "content/public/test/test_utils.h"
27 #include "ui/app_list/app_list_model.h" 27 #include "ui/app_list/app_list_model.h"
28 #include "ui/app_list/search_box_model.h" 28 #include "ui/app_list/search_box_model.h"
29 29
30 // Interactive UI Test for AppListService that runs on all platforms supporting 30 // Interactive UI Test for AppListService that runs on all platforms supporting
31 // app_list. Interactive because the app list uses focus changes to dismiss 31 // app_list. Interactive because the app list uses focus changes to dismiss
32 // itself, which will cause tests that check the visibility to fail flakily. 32 // itself, which will cause tests that check the visibility to fail flakily.
33 class AppListServiceInteractiveTest : public InProcessBrowserTest { 33 class AppListServiceInteractiveTest : public InProcessBrowserTest {
34 public: 34 public:
35 AppListServiceInteractiveTest() 35 AppListServiceInteractiveTest()
36 : profile2_(NULL) {} 36 : profile2_(NULL) {}
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 CreateBrowser(profile_manager->GetLastUsedProfile()); 261 CreateBrowser(profile_manager->GetLastUsedProfile());
262 262
263 // Delete the profile being used by the app list. 263 // Delete the profile being used by the app list.
264 profile_manager->ScheduleProfileForDeletion( 264 profile_manager->ScheduleProfileForDeletion(
265 service->GetCurrentAppListProfile()->GetPath(), 265 service->GetCurrentAppListProfile()->GetPath(),
266 ProfileManager::CreateCallback()); 266 ProfileManager::CreateCallback());
267 267
268 // App Launcher should get closed immediately and nothing should explode. 268 // App Launcher should get closed immediately and nothing should explode.
269 EXPECT_FALSE(service->IsAppListVisible()); 269 EXPECT_FALSE(service->IsAppListVisible());
270 } 270 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sessions_helper.cc ('k') | chrome/browser/ui/browser_navigator_browsertest_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698