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 28 matching lines...) Expand all Loading... |
39 #include "chrome/browser/ui/browser_window.h" | 39 #include "chrome/browser/ui/browser_window.h" |
40 #include "chrome/browser/ui/find_bar/find_notification_details.h" | 40 #include "chrome/browser/ui/find_bar/find_notification_details.h" |
41 #include "chrome/browser/ui/find_bar/find_tab_helper.h" | 41 #include "chrome/browser/ui/find_bar/find_tab_helper.h" |
42 #include "chrome/browser/ui/host_desktop.h" | 42 #include "chrome/browser/ui/host_desktop.h" |
43 #include "chrome/browser/ui/location_bar/location_bar.h" | 43 #include "chrome/browser/ui/location_bar/location_bar.h" |
44 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 44 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
45 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 45 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
46 #include "chrome/common/chrome_paths.h" | 46 #include "chrome/common/chrome_paths.h" |
47 #include "chrome/common/pref_names.h" | 47 #include "chrome/common/pref_names.h" |
48 #include "chrome/test/base/find_in_page_observer.h" | 48 #include "chrome/test/base/find_in_page_observer.h" |
49 #include "components/app_modal_dialogs/app_modal_dialog.h" | 49 #include "components/app_modal/app_modal_dialog.h" |
50 #include "components/app_modal_dialogs/app_modal_dialog_queue.h" | 50 #include "components/app_modal/app_modal_dialog_queue.h" |
51 #include "components/bookmarks/browser/bookmark_model.h" | 51 #include "components/bookmarks/browser/bookmark_model.h" |
52 #include "components/search_engines/template_url_service.h" | 52 #include "components/search_engines/template_url_service.h" |
53 #include "content/public/browser/dom_operation_notification_details.h" | 53 #include "content/public/browser/dom_operation_notification_details.h" |
54 #include "content/public/browser/download_item.h" | 54 #include "content/public/browser/download_item.h" |
55 #include "content/public/browser/download_manager.h" | 55 #include "content/public/browser/download_manager.h" |
56 #include "content/public/browser/geolocation_provider.h" | 56 #include "content/public/browser/geolocation_provider.h" |
57 #include "content/public/browser/navigation_controller.h" | 57 #include "content/public/browser/navigation_controller.h" |
58 #include "content/public/browser/navigation_entry.h" | 58 #include "content/public/browser/navigation_entry.h" |
59 #include "content/public/browser/notification_service.h" | 59 #include "content/public/browser/notification_service.h" |
60 #include "content/public/browser/render_process_host.h" | 60 #include "content/public/browser/render_process_host.h" |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 | 534 |
535 void HistoryEnumerator::HistoryQueryComplete( | 535 void HistoryEnumerator::HistoryQueryComplete( |
536 const base::Closure& quit_task, | 536 const base::Closure& quit_task, |
537 history::QueryResults* results) { | 537 history::QueryResults* results) { |
538 for (size_t i = 0; i < results->size(); ++i) | 538 for (size_t i = 0; i < results->size(); ++i) |
539 urls_.push_back((*results)[i].url()); | 539 urls_.push_back((*results)[i].url()); |
540 quit_task.Run(); | 540 quit_task.Run(); |
541 } | 541 } |
542 | 542 |
543 } // namespace ui_test_utils | 543 } // namespace ui_test_utils |
OLD | NEW |