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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #include "chrome/browser/ui/browser_window.h" | 45 #include "chrome/browser/ui/browser_window.h" |
46 #include "chrome/browser/ui/find_bar/find_notification_details.h" | 46 #include "chrome/browser/ui/find_bar/find_notification_details.h" |
47 #include "chrome/browser/ui/find_bar/find_tab_helper.h" | 47 #include "chrome/browser/ui/find_bar/find_tab_helper.h" |
48 #include "chrome/browser/ui/host_desktop.h" | 48 #include "chrome/browser/ui/host_desktop.h" |
49 #include "chrome/browser/ui/omnibox/location_bar.h" | 49 #include "chrome/browser/ui/omnibox/location_bar.h" |
50 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 50 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
51 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 51 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
52 #include "chrome/common/chrome_paths.h" | 52 #include "chrome/common/chrome_paths.h" |
53 #include "chrome/common/pref_names.h" | 53 #include "chrome/common/pref_names.h" |
54 #include "chrome/test/base/find_in_page_observer.h" | 54 #include "chrome/test/base/find_in_page_observer.h" |
55 #include "components/bookmarks/core/browser/bookmark_model.h" | 55 #include "components/bookmarks/browser/bookmark_model.h" |
56 #include "content/public/browser/dom_operation_notification_details.h" | 56 #include "content/public/browser/dom_operation_notification_details.h" |
57 #include "content/public/browser/download_item.h" | 57 #include "content/public/browser/download_item.h" |
58 #include "content/public/browser/download_manager.h" | 58 #include "content/public/browser/download_manager.h" |
59 #include "content/public/browser/geolocation_provider.h" | 59 #include "content/public/browser/geolocation_provider.h" |
60 #include "content/public/browser/navigation_controller.h" | 60 #include "content/public/browser/navigation_controller.h" |
61 #include "content/public/browser/navigation_entry.h" | 61 #include "content/public/browser/navigation_entry.h" |
62 #include "content/public/browser/notification_service.h" | 62 #include "content/public/browser/notification_service.h" |
63 #include "content/public/browser/render_process_host.h" | 63 #include "content/public/browser/render_process_host.h" |
64 #include "content/public/browser/render_view_host.h" | 64 #include "content/public/browser/render_view_host.h" |
65 #include "content/public/browser/web_contents.h" | 65 #include "content/public/browser/web_contents.h" |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 void HistoryEnumerator::HistoryQueryComplete( | 590 void HistoryEnumerator::HistoryQueryComplete( |
591 const base::Closure& quit_task, | 591 const base::Closure& quit_task, |
592 HistoryService::Handle request_handle, | 592 HistoryService::Handle request_handle, |
593 history::QueryResults* results) { | 593 history::QueryResults* results) { |
594 for (size_t i = 0; i < results->size(); ++i) | 594 for (size_t i = 0; i < results->size(); ++i) |
595 urls_.push_back((*results)[i].url()); | 595 urls_.push_back((*results)[i].url()); |
596 quit_task.Run(); | 596 quit_task.Run(); |
597 } | 597 } |
598 | 598 |
599 } // namespace ui_test_utils | 599 } // namespace ui_test_utils |
OLD | NEW |