| 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 17 matching lines...) Expand all Loading... |
| 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_window.h" | 35 #include "chrome/browser/ui/browser_window.h" |
| 36 #include "chrome/browser/ui/find_bar/find_notification_details.h" | 36 #include "chrome/browser/ui/find_bar/find_notification_details.h" |
| 37 #include "chrome/browser/ui/find_bar/find_tab_helper.h" | 37 #include "chrome/browser/ui/find_bar/find_tab_helper.h" |
| 38 #include "chrome/browser/ui/host_desktop.h" | |
| 39 #include "chrome/browser/ui/location_bar/location_bar.h" | 38 #include "chrome/browser/ui/location_bar/location_bar.h" |
| 40 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 39 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 41 #include "chrome/common/chrome_paths.h" | 40 #include "chrome/common/chrome_paths.h" |
| 42 #include "chrome/common/pref_names.h" | 41 #include "chrome/common/pref_names.h" |
| 43 #include "chrome/test/base/find_in_page_observer.h" | 42 #include "chrome/test/base/find_in_page_observer.h" |
| 44 #include "components/app_modal/app_modal_dialog.h" | 43 #include "components/app_modal/app_modal_dialog.h" |
| 45 #include "components/app_modal/app_modal_dialog_queue.h" | 44 #include "components/app_modal/app_modal_dialog_queue.h" |
| 46 #include "components/bookmarks/browser/bookmark_model.h" | 45 #include "components/bookmarks/browser/bookmark_model.h" |
| 47 #include "components/history/core/browser/history_service_observer.h" | 46 #include "components/history/core/browser/history_service_observer.h" |
| 48 #include "components/omnibox/browser/autocomplete_controller.h" | 47 #include "components/omnibox/browser/autocomplete_controller.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 64 #include "content/public/test/test_navigation_observer.h" | 63 #include "content/public/test/test_navigation_observer.h" |
| 65 #include "content/public/test/test_utils.h" | 64 #include "content/public/test/test_utils.h" |
| 66 #include "net/base/filename_util.h" | 65 #include "net/base/filename_util.h" |
| 67 #include "net/cookies/cookie_constants.h" | 66 #include "net/cookies/cookie_constants.h" |
| 68 #include "net/cookies/cookie_monster.h" | 67 #include "net/cookies/cookie_monster.h" |
| 69 #include "net/cookies/cookie_store.h" | 68 #include "net/cookies/cookie_store.h" |
| 70 #include "net/test/python_utils.h" | 69 #include "net/test/python_utils.h" |
| 71 #include "net/url_request/url_request_context.h" | 70 #include "net/url_request/url_request_context.h" |
| 72 #include "net/url_request/url_request_context_getter.h" | 71 #include "net/url_request/url_request_context_getter.h" |
| 73 #include "ui/gfx/geometry/rect.h" | 72 #include "ui/gfx/geometry/rect.h" |
| 73 #include "ui/gfx/host_desktop_type.h" |
| 74 | 74 |
| 75 #if defined(USE_AURA) | 75 #if defined(USE_AURA) |
| 76 #include "ash/shell.h" | 76 #include "ash/shell.h" |
| 77 #include "ui/aura/window_event_dispatcher.h" | 77 #include "ui/aura/window_event_dispatcher.h" |
| 78 #endif | 78 #endif |
| 79 | 79 |
| 80 using content::DomOperationNotificationDetails; | 80 using content::DomOperationNotificationDetails; |
| 81 using content::NativeWebKeyboardEvent; | 81 using content::NativeWebKeyboardEvent; |
| 82 using content::NavigationController; | 82 using content::NavigationController; |
| 83 using content::NavigationEntry; | 83 using content::NavigationEntry; |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 new content::MessageLoopRunner; | 544 new content::MessageLoopRunner; |
| 545 WaitHistoryLoadedObserver observer(runner.get()); | 545 WaitHistoryLoadedObserver observer(runner.get()); |
| 546 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> | 546 ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
| 547 scoped_observer(&observer); | 547 scoped_observer(&observer); |
| 548 scoped_observer.Add(history_service); | 548 scoped_observer.Add(history_service); |
| 549 runner->Run(); | 549 runner->Run(); |
| 550 } | 550 } |
| 551 } | 551 } |
| 552 | 552 |
| 553 } // namespace ui_test_utils | 553 } // namespace ui_test_utils |
| OLD | NEW |