| 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/browser/automation/testing_automation_provider.h" | 5 #include "chrome/browser/automation/testing_automation_provider.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 #include "chrome/browser/themes/theme_service.h" | 91 #include "chrome/browser/themes/theme_service.h" |
| 92 #include "chrome/browser/themes/theme_service_factory.h" | 92 #include "chrome/browser/themes/theme_service_factory.h" |
| 93 #include "chrome/browser/translate/translate_infobar_delegate.h" | 93 #include "chrome/browser/translate/translate_infobar_delegate.h" |
| 94 #include "chrome/browser/translate/translate_tab_helper.h" | 94 #include "chrome/browser/translate/translate_tab_helper.h" |
| 95 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" | 95 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" |
| 96 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" | 96 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog_queue.h" |
| 97 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" | 97 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" |
| 98 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" | 98 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" |
| 99 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" | 99 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper.h" |
| 100 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 100 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
| 101 #include "chrome/browser/ui/browser_init.h" | |
| 102 #include "chrome/browser/ui/browser_window.h" | 101 #include "chrome/browser/ui/browser_window.h" |
| 103 #include "chrome/browser/ui/find_bar/find_bar.h" | 102 #include "chrome/browser/ui/find_bar/find_bar.h" |
| 104 #include "chrome/browser/ui/fullscreen_controller.h" | 103 #include "chrome/browser/ui/fullscreen_controller.h" |
| 105 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" | 104 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" |
| 106 #include "chrome/browser/ui/login/login_prompt.h" | 105 #include "chrome/browser/ui/login/login_prompt.h" |
| 107 #include "chrome/browser/ui/media_stream_infobar_delegate.h" | 106 #include "chrome/browser/ui/media_stream_infobar_delegate.h" |
| 108 #include "chrome/browser/ui/omnibox/location_bar.h" | 107 #include "chrome/browser/ui/omnibox/location_bar.h" |
| 109 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 108 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
| 110 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" | 109 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" |
| 111 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 110 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| (...skipping 7047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7159 *browser_handle = browser_tracker_->Add(browser); | 7158 *browser_handle = browser_tracker_->Add(browser); |
| 7160 *success = true; | 7159 *success = true; |
| 7161 } | 7160 } |
| 7162 } | 7161 } |
| 7163 } | 7162 } |
| 7164 | 7163 |
| 7165 void TestingAutomationProvider::OnRemoveProvider() { | 7164 void TestingAutomationProvider::OnRemoveProvider() { |
| 7166 if (g_browser_process) | 7165 if (g_browser_process) |
| 7167 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); | 7166 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); |
| 7168 } | 7167 } |
| OLD | NEW |