| 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 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 #include "chrome/browser/ui/location_bar/location_bar.h" | 39 #include "chrome/browser/ui/location_bar/location_bar.h" |
| 40 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 40 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 41 #include "chrome/common/chrome_paths.h" | 41 #include "chrome/common/chrome_paths.h" |
| 42 #include "chrome/common/pref_names.h" | 42 #include "chrome/common/pref_names.h" |
| 43 #include "chrome/test/base/find_in_page_observer.h" | 43 #include "chrome/test/base/find_in_page_observer.h" |
| 44 #include "components/app_modal/app_modal_dialog.h" | 44 #include "components/app_modal/app_modal_dialog.h" |
| 45 #include "components/app_modal/app_modal_dialog_queue.h" | 45 #include "components/app_modal/app_modal_dialog_queue.h" |
| 46 #include "components/bookmarks/browser/bookmark_model.h" | 46 #include "components/bookmarks/browser/bookmark_model.h" |
| 47 #include "components/history/core/browser/history_service_observer.h" | 47 #include "components/history/core/browser/history_service_observer.h" |
| 48 #include "components/omnibox/browser/autocomplete_controller.h" | 48 #include "components/omnibox/browser/autocomplete_controller.h" |
| 49 #include "components/omnibox/browser/omnibox_view.h" | 49 #include "components/omnibox/browser/omnibox_edit_model.h" |
| 50 #include "components/prefs/pref_service.h" | 50 #include "components/prefs/pref_service.h" |
| 51 #include "content/public/browser/download_item.h" | 51 #include "content/public/browser/download_item.h" |
| 52 #include "content/public/browser/download_manager.h" | 52 #include "content/public/browser/download_manager.h" |
| 53 #include "content/public/browser/geolocation_provider.h" | 53 #include "content/public/browser/geolocation_provider.h" |
| 54 #include "content/public/browser/navigation_controller.h" | 54 #include "content/public/browser/navigation_controller.h" |
| 55 #include "content/public/browser/navigation_entry.h" | 55 #include "content/public/browser/navigation_entry.h" |
| 56 #include "content/public/browser/notification_service.h" | 56 #include "content/public/browser/notification_service.h" |
| 57 #include "content/public/browser/render_process_host.h" | 57 #include "content/public/browser/render_process_host.h" |
| 58 #include "content/public/browser/storage_partition.h" | 58 #include "content/public/browser/storage_partition.h" |
| 59 #include "content/public/browser/web_contents.h" | 59 #include "content/public/browser/web_contents.h" |
| (...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 new content::MessageLoopRunner; | 536 new content::MessageLoopRunner; |
| 537 WaitHistoryLoadedObserver observer(runner.get()); | 537 WaitHistoryLoadedObserver observer(runner.get()); |
| 538 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> | 538 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
| 539 scoped_observer(&observer); | 539 scoped_observer(&observer); |
| 540 scoped_observer.Add(history_service); | 540 scoped_observer.Add(history_service); |
| 541 runner->Run(); | 541 runner->Run(); |
| 542 } | 542 } |
| 543 } | 543 } |
| 544 | 544 |
| 545 } // namespace ui_test_utils | 545 } // namespace ui_test_utils |
| OLD | NEW |