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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 | 170 |
171 using automation::Error; | 171 using automation::Error; |
172 using automation::ErrorCode; | 172 using automation::ErrorCode; |
173 using automation_util::SendErrorIfModalDialogActive; | 173 using automation_util::SendErrorIfModalDialogActive; |
174 using content::BrowserChildProcessHostIterator; | 174 using content::BrowserChildProcessHostIterator; |
175 using content::BrowserThread; | 175 using content::BrowserThread; |
176 using content::ChildProcessHost; | 176 using content::ChildProcessHost; |
177 using content::DownloadItem; | 177 using content::DownloadItem; |
178 using content::DownloadManager; | 178 using content::DownloadManager; |
179 using content::InterstitialPage; | 179 using content::InterstitialPage; |
| 180 using content::NativeWebKeyboardEvent; |
180 using content::NavigationController; | 181 using content::NavigationController; |
181 using content::NavigationEntry; | 182 using content::NavigationEntry; |
182 using content::PluginService; | 183 using content::PluginService; |
183 using content::OpenURLParams; | 184 using content::OpenURLParams; |
184 using content::Referrer; | 185 using content::Referrer; |
185 using content::RenderViewHost; | 186 using content::RenderViewHost; |
186 using content::SSLStatus; | 187 using content::SSLStatus; |
187 using content::WebContents; | 188 using content::WebContents; |
188 | 189 |
189 namespace { | 190 namespace { |
(...skipping 6373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6563 | 6564 |
6564 void TestingAutomationProvider::WaitForProcessLauncherThreadToGoIdle( | 6565 void TestingAutomationProvider::WaitForProcessLauncherThreadToGoIdle( |
6565 IPC::Message* reply_message) { | 6566 IPC::Message* reply_message) { |
6566 new WaitForProcessLauncherThreadToGoIdleObserver(this, reply_message); | 6567 new WaitForProcessLauncherThreadToGoIdleObserver(this, reply_message); |
6567 } | 6568 } |
6568 | 6569 |
6569 void TestingAutomationProvider::OnRemoveProvider() { | 6570 void TestingAutomationProvider::OnRemoveProvider() { |
6570 if (g_browser_process) | 6571 if (g_browser_process) |
6571 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); | 6572 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); |
6572 } | 6573 } |
OLD | NEW |