| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 #include "chrome/browser/ui/omnibox/location_bar.h" | 106 #include "chrome/browser/ui/omnibox/location_bar.h" |
| 107 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" | 107 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" |
| 108 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 108 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
| 109 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" | 109 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" |
| 110 #include "chrome/browser/ui/startup/startup_types.h" | 110 #include "chrome/browser/ui/startup/startup_types.h" |
| 111 #include "chrome/common/automation_constants.h" | 111 #include "chrome/common/automation_constants.h" |
| 112 #include "chrome/common/automation_messages.h" | 112 #include "chrome/common/automation_messages.h" |
| 113 #include "chrome/common/chrome_constants.h" | 113 #include "chrome/common/chrome_constants.h" |
| 114 #include "chrome/common/chrome_paths.h" | 114 #include "chrome/common/chrome_paths.h" |
| 115 #include "chrome/common/chrome_switches.h" | 115 #include "chrome/common/chrome_switches.h" |
| 116 #include "chrome/common/extensions/background_info.h" | |
| 117 #include "chrome/common/extensions/extension.h" | 116 #include "chrome/common/extensions/extension.h" |
| 118 #include "chrome/common/extensions/manifest_url_handler.h" | 117 #include "chrome/common/extensions/manifest_url_handler.h" |
| 119 #include "chrome/common/extensions/permissions/permissions_data.h" | 118 #include "chrome/common/extensions/permissions/permissions_data.h" |
| 120 #include "chrome/common/pref_names.h" | 119 #include "chrome/common/pref_names.h" |
| 121 #include "chrome/common/render_messages.h" | 120 #include "chrome/common/render_messages.h" |
| 122 #include "content/public/browser/browser_child_process_host_iterator.h" | 121 #include "content/public/browser/browser_child_process_host_iterator.h" |
| 123 #include "content/public/browser/child_process_data.h" | 122 #include "content/public/browser/child_process_data.h" |
| 124 #include "content/public/browser/favicon_status.h" | 123 #include "content/public/browser/favicon_status.h" |
| 125 #include "content/public/browser/geolocation_provider.h" | 124 #include "content/public/browser/geolocation_provider.h" |
| 126 #include "content/public/browser/interstitial_page.h" | 125 #include "content/public/browser/interstitial_page.h" |
| 127 #include "content/public/browser/interstitial_page_delegate.h" | 126 #include "content/public/browser/interstitial_page_delegate.h" |
| 128 #include "content/public/browser/navigation_entry.h" | 127 #include "content/public/browser/navigation_entry.h" |
| 129 #include "content/public/browser/notification_service.h" | 128 #include "content/public/browser/notification_service.h" |
| 130 #include "content/public/browser/plugin_service.h" | 129 #include "content/public/browser/plugin_service.h" |
| 131 #include "content/public/browser/render_process_host.h" | 130 #include "content/public/browser/render_process_host.h" |
| 132 #include "content/public/browser/render_view_host.h" | 131 #include "content/public/browser/render_view_host.h" |
| 133 #include "content/public/browser/render_widget_host_view.h" | 132 #include "content/public/browser/render_widget_host_view.h" |
| 134 #include "content/public/browser/web_contents.h" | 133 #include "content/public/browser/web_contents.h" |
| 135 #include "content/public/common/child_process_host.h" | 134 #include "content/public/common/child_process_host.h" |
| 136 #include "content/public/common/common_param_traits.h" | 135 #include "content/public/common/common_param_traits.h" |
| 137 #include "content/public/common/drop_data.h" | 136 #include "content/public/common/drop_data.h" |
| 138 #include "content/public/common/geoposition.h" | 137 #include "content/public/common/geoposition.h" |
| 139 #include "content/public/common/ssl_status.h" | 138 #include "content/public/common/ssl_status.h" |
| 140 #include "content/public/common/webplugininfo.h" | 139 #include "content/public/common/webplugininfo.h" |
| 141 #include "extensions/browser/view_type_utils.h" | 140 #include "extensions/browser/view_type_utils.h" |
| 141 #include "extensions/common/manifest_handlers/background_info.h" |
| 142 #include "extensions/common/permissions/permission_set.h" | 142 #include "extensions/common/permissions/permission_set.h" |
| 143 #include "extensions/common/url_pattern.h" | 143 #include "extensions/common/url_pattern.h" |
| 144 #include "extensions/common/url_pattern_set.h" | 144 #include "extensions/common/url_pattern_set.h" |
| 145 #include "net/cookies/cookie_store.h" | 145 #include "net/cookies/cookie_store.h" |
| 146 #include "third_party/WebKit/public/web/WebInputEvent.h" | 146 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 147 #include "ui/base/ui_base_types.h" | 147 #include "ui/base/ui_base_types.h" |
| 148 #include "ui/events/event_constants.h" | 148 #include "ui/events/event_constants.h" |
| 149 #include "ui/events/keycodes/keyboard_codes.h" | 149 #include "ui/events/keycodes/keyboard_codes.h" |
| 150 | 150 |
| 151 #if defined(ENABLE_CONFIGURATION_POLICY) | 151 #if defined(ENABLE_CONFIGURATION_POLICY) |
| (...skipping 5300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5452 if (g_browser_process) | 5452 if (g_browser_process) |
| 5453 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); | 5453 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); |
| 5454 } | 5454 } |
| 5455 | 5455 |
| 5456 void TestingAutomationProvider::EnsureTabSelected(Browser* browser, | 5456 void TestingAutomationProvider::EnsureTabSelected(Browser* browser, |
| 5457 WebContents* tab) { | 5457 WebContents* tab) { |
| 5458 TabStripModel* tab_strip = browser->tab_strip_model(); | 5458 TabStripModel* tab_strip = browser->tab_strip_model(); |
| 5459 if (tab_strip->GetActiveWebContents() != tab) | 5459 if (tab_strip->GetActiveWebContents() != tab) |
| 5460 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true); | 5460 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true); |
| 5461 } | 5461 } |
| OLD | NEW |