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

Side by Side Diff: chrome/test/base/ui_test_utils.cc

Issue 156703006: Cleanup: Remove unneeded browser_thread.h includes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | chrome/test/base/view_event_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "chrome/browser/ui/browser_window.h" 46 #include "chrome/browser/ui/browser_window.h"
47 #include "chrome/browser/ui/find_bar/find_notification_details.h" 47 #include "chrome/browser/ui/find_bar/find_notification_details.h"
48 #include "chrome/browser/ui/find_bar/find_tab_helper.h" 48 #include "chrome/browser/ui/find_bar/find_tab_helper.h"
49 #include "chrome/browser/ui/host_desktop.h" 49 #include "chrome/browser/ui/host_desktop.h"
50 #include "chrome/browser/ui/omnibox/location_bar.h" 50 #include "chrome/browser/ui/omnibox/location_bar.h"
51 #include "chrome/browser/ui/omnibox/omnibox_view.h" 51 #include "chrome/browser/ui/omnibox/omnibox_view.h"
52 #include "chrome/browser/ui/tabs/tab_strip_model.h" 52 #include "chrome/browser/ui/tabs/tab_strip_model.h"
53 #include "chrome/common/chrome_paths.h" 53 #include "chrome/common/chrome_paths.h"
54 #include "chrome/common/pref_names.h" 54 #include "chrome/common/pref_names.h"
55 #include "chrome/test/base/find_in_page_observer.h" 55 #include "chrome/test/base/find_in_page_observer.h"
56 #include "content/public/browser/browser_thread.h"
57 #include "content/public/browser/dom_operation_notification_details.h" 56 #include "content/public/browser/dom_operation_notification_details.h"
58 #include "content/public/browser/download_item.h" 57 #include "content/public/browser/download_item.h"
59 #include "content/public/browser/download_manager.h" 58 #include "content/public/browser/download_manager.h"
60 #include "content/public/browser/geolocation_provider.h" 59 #include "content/public/browser/geolocation_provider.h"
61 #include "content/public/browser/navigation_controller.h" 60 #include "content/public/browser/navigation_controller.h"
62 #include "content/public/browser/navigation_entry.h" 61 #include "content/public/browser/navigation_entry.h"
63 #include "content/public/browser/notification_service.h" 62 #include "content/public/browser/notification_service.h"
64 #include "content/public/browser/render_process_host.h" 63 #include "content/public/browser/render_process_host.h"
65 #include "content/public/browser/render_view_host.h" 64 #include "content/public/browser/render_view_host.h"
66 #include "content/public/browser/web_contents.h" 65 #include "content/public/browser/web_contents.h"
67 #include "content/public/browser/web_contents_observer.h" 66 #include "content/public/browser/web_contents_observer.h"
68 #include "content/public/browser/web_contents_view.h" 67 #include "content/public/browser/web_contents_view.h"
69 #include "content/public/common/geoposition.h" 68 #include "content/public/common/geoposition.h"
70 #include "content/public/test/browser_test_utils.h" 69 #include "content/public/test/browser_test_utils.h"
71 #include "content/public/test/download_test_observer.h" 70 #include "content/public/test/download_test_observer.h"
72 #include "content/public/test/test_navigation_observer.h" 71 #include "content/public/test/test_navigation_observer.h"
73 #include "content/public/test/test_utils.h" 72 #include "content/public/test/test_utils.h"
74 #include "net/base/net_util.h" 73 #include "net/base/net_util.h"
75 #include "net/test/python_utils.h" 74 #include "net/test/python_utils.h"
76 #include "third_party/skia/include/core/SkBitmap.h" 75 #include "third_party/skia/include/core/SkBitmap.h"
77 #include "third_party/skia/include/core/SkColor.h" 76 #include "third_party/skia/include/core/SkColor.h"
78 #include "ui/gfx/size.h" 77 #include "ui/gfx/size.h"
79 #include "ui/snapshot/test/snapshot_desktop.h" 78 #include "ui/snapshot/test/snapshot_desktop.h"
80 79
81 #if defined(USE_AURA) 80 #if defined(USE_AURA)
82 #include "ash/shell.h" 81 #include "ash/shell.h"
83 #include "ui/aura/root_window.h" 82 #include "ui/aura/root_window.h"
84 #endif 83 #endif
85 84
86 using content::BrowserThread;
87 using content::DomOperationNotificationDetails; 85 using content::DomOperationNotificationDetails;
88 using content::NativeWebKeyboardEvent; 86 using content::NativeWebKeyboardEvent;
89 using content::NavigationController; 87 using content::NavigationController;
90 using content::NavigationEntry; 88 using content::NavigationEntry;
91 using content::OpenURLParams; 89 using content::OpenURLParams;
92 using content::RenderViewHost; 90 using content::RenderViewHost;
93 using content::RenderWidgetHost; 91 using content::RenderWidgetHost;
94 using content::Referrer; 92 using content::Referrer;
95 using content::WebContents; 93 using content::WebContents;
96 94
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 void HistoryEnumerator::HistoryQueryComplete( 537 void HistoryEnumerator::HistoryQueryComplete(
540 const base::Closure& quit_task, 538 const base::Closure& quit_task,
541 HistoryService::Handle request_handle, 539 HistoryService::Handle request_handle,
542 history::QueryResults* results) { 540 history::QueryResults* results) {
543 for (size_t i = 0; i < results->size(); ++i) 541 for (size_t i = 0; i < results->size(); ++i)
544 urls_.push_back((*results)[i].url()); 542 urls_.push_back((*results)[i].url());
545 quit_task.Run(); 543 quit_task.Run();
546 } 544 }
547 545
548 } // namespace ui_test_utils 546 } // namespace ui_test_utils
OLDNEW
« no previous file with comments | « chrome/test/base/in_process_browser_test.cc ('k') | chrome/test/base/view_event_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698