| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // This implements a browser-side endpoint for UI automation activity. | 5 // This implements a browser-side endpoint for UI automation activity. |
| 6 // The client-side endpoint is implemented by AutomationProxy. | 6 // The client-side endpoint is implemented by AutomationProxy. |
| 7 // The entire lifetime of this object should be contained within that of | 7 // The entire lifetime of this object should be contained within that of |
| 8 // the BrowserProcess, and in particular the NotificationService that's | 8 // the BrowserProcess, and in particular the NotificationService that's |
| 9 // hung off of it. | 9 // hung off of it. |
| 10 | 10 |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 void CreateExternalTab(const IPC::ExternalTabSettings& settings, | 293 void CreateExternalTab(const IPC::ExternalTabSettings& settings, |
| 294 gfx::NativeWindow* tab_container_window, | 294 gfx::NativeWindow* tab_container_window, |
| 295 gfx::NativeWindow* tab_window, | 295 gfx::NativeWindow* tab_window, |
| 296 int* tab_handle); | 296 int* tab_handle); |
| 297 | 297 |
| 298 void ConnectExternalTab(intptr_t cookie, | 298 void ConnectExternalTab(intptr_t cookie, |
| 299 gfx::NativeWindow* tab_container_window, | 299 gfx::NativeWindow* tab_container_window, |
| 300 gfx::NativeWindow* tab_window, | 300 gfx::NativeWindow* tab_window, |
| 301 int* tab_handle); | 301 int* tab_handle); |
| 302 | 302 |
| 303 void QuitAfterTimeout(int timeout_ms); |
| 304 |
| 303 void NavigateInExternalTab( | 305 void NavigateInExternalTab( |
| 304 int handle, const GURL& url, | 306 int handle, const GURL& url, |
| 305 AutomationMsg_NavigationResponseValues* status); | 307 AutomationMsg_NavigationResponseValues* status); |
| 306 void NavigateExternalTabAtIndex( | 308 void NavigateExternalTabAtIndex( |
| 307 int handle, int index, AutomationMsg_NavigationResponseValues* status); | 309 int handle, int index, AutomationMsg_NavigationResponseValues* status); |
| 308 | 310 |
| 309 // TODO(port): remove windowisms. | 311 // TODO(port): remove windowisms. |
| 310 #if defined(OS_WIN) | 312 #if defined(OS_WIN) |
| 311 // The container of an externally hosted tab calls this to reflect any | 313 // The container of an externally hosted tab calls this to reflect any |
| 312 // accelerator keys that it did not process. This gives the tab a chance | 314 // accelerator keys that it did not process. This gives the tab a chance |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 virtual void Observe(NotificationType type, | 564 virtual void Observe(NotificationType type, |
| 563 const NotificationSource& source, | 565 const NotificationSource& source, |
| 564 const NotificationDetails& details); | 566 const NotificationDetails& details); |
| 565 | 567 |
| 566 void OnRemoveProvider(); // Called via PostTask | 568 void OnRemoveProvider(); // Called via PostTask |
| 567 | 569 |
| 568 NotificationRegistrar registrar_; | 570 NotificationRegistrar registrar_; |
| 569 }; | 571 }; |
| 570 | 572 |
| 571 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 573 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |