OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/test/base/ui_test_utils.h" | 5 #include "chrome/test/base/ui_test_utils.h" |
6 | 6 |
7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
8 #include <windows.h> | 8 #include <windows.h> |
9 #endif | 9 #endif |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 25 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
26 #include "chrome/browser/chrome_notification_types.h" | 26 #include "chrome/browser/chrome_notification_types.h" |
27 #include "chrome/browser/history/history_service_factory.h" | 27 #include "chrome/browser/history/history_service_factory.h" |
28 #include "chrome/browser/profiles/profile.h" | 28 #include "chrome/browser/profiles/profile.h" |
29 #include "chrome/browser/ui/browser.h" | 29 #include "chrome/browser/ui/browser.h" |
30 #include "chrome/browser/ui/browser_commands.h" | 30 #include "chrome/browser/ui/browser_commands.h" |
31 #include "chrome/browser/ui/browser_finder.h" | 31 #include "chrome/browser/ui/browser_finder.h" |
32 #include "chrome/browser/ui/browser_iterator.h" | 32 #include "chrome/browser/ui/browser_iterator.h" |
33 #include "chrome/browser/ui/browser_list.h" | 33 #include "chrome/browser/ui/browser_list.h" |
34 #include "chrome/browser/ui/browser_navigator.h" | 34 #include "chrome/browser/ui/browser_navigator.h" |
| 35 #include "chrome/browser/ui/browser_navigator_params.h" |
35 #include "chrome/browser/ui/browser_window.h" | 36 #include "chrome/browser/ui/browser_window.h" |
36 #include "chrome/browser/ui/find_bar/find_notification_details.h" | 37 #include "chrome/browser/ui/find_bar/find_notification_details.h" |
37 #include "chrome/browser/ui/find_bar/find_tab_helper.h" | 38 #include "chrome/browser/ui/find_bar/find_tab_helper.h" |
38 #include "chrome/browser/ui/host_desktop.h" | 39 #include "chrome/browser/ui/host_desktop.h" |
39 #include "chrome/browser/ui/location_bar/location_bar.h" | 40 #include "chrome/browser/ui/location_bar/location_bar.h" |
40 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 41 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
41 #include "chrome/common/chrome_paths.h" | 42 #include "chrome/common/chrome_paths.h" |
42 #include "chrome/common/pref_names.h" | 43 #include "chrome/common/pref_names.h" |
43 #include "chrome/test/base/find_in_page_observer.h" | 44 #include "chrome/test/base/find_in_page_observer.h" |
44 #include "components/app_modal/app_modal_dialog.h" | 45 #include "components/app_modal/app_modal_dialog.h" |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 new content::MessageLoopRunner; | 526 new content::MessageLoopRunner; |
526 WaitHistoryLoadedObserver observer(runner.get()); | 527 WaitHistoryLoadedObserver observer(runner.get()); |
527 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> | 528 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
528 scoped_observer(&observer); | 529 scoped_observer(&observer); |
529 scoped_observer.Add(history_service); | 530 scoped_observer.Add(history_service); |
530 runner->Run(); | 531 runner->Run(); |
531 } | 532 } |
532 } | 533 } |
533 | 534 |
534 } // namespace ui_test_utils | 535 } // namespace ui_test_utils |
OLD | NEW |