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 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 void ShowInterstitialPage(int tab_handle, | 292 void ShowInterstitialPage(int tab_handle, |
293 const std::string& html_text, | 293 const std::string& html_text, |
294 IPC::Message* reply_message); | 294 IPC::Message* reply_message); |
295 void HideInterstitialPage(int tab_handle, bool* success); | 295 void HideInterstitialPage(int tab_handle, bool* success); |
296 | 296 |
297 void CreateExternalTab(const IPC::ExternalTabSettings& settings, | 297 void CreateExternalTab(const IPC::ExternalTabSettings& settings, |
298 gfx::NativeWindow* tab_container_window, | 298 gfx::NativeWindow* tab_container_window, |
299 gfx::NativeWindow* tab_window, | 299 gfx::NativeWindow* tab_window, |
300 int* tab_handle); | 300 int* tab_handle); |
301 | 301 |
| 302 void ConnectExternalTab(intptr_t cookie, |
| 303 gfx::NativeWindow* tab_container_window, |
| 304 gfx::NativeWindow* tab_window, |
| 305 int* tab_handle); |
| 306 |
302 void NavigateInExternalTab( | 307 void NavigateInExternalTab( |
303 int handle, const GURL& url, | 308 int handle, const GURL& url, |
304 AutomationMsg_NavigationResponseValues* status); | 309 AutomationMsg_NavigationResponseValues* status); |
305 void NavigateExternalTabAtIndex( | 310 void NavigateExternalTabAtIndex( |
306 int handle, int index, AutomationMsg_NavigationResponseValues* status); | 311 int handle, int index, AutomationMsg_NavigationResponseValues* status); |
307 | 312 |
308 // TODO(port): remove windowisms. | 313 // TODO(port): remove windowisms. |
309 #if defined(OS_WIN) | 314 #if defined(OS_WIN) |
310 // The container of an externally hosted tab calls this to reflect any | 315 // The container of an externally hosted tab calls this to reflect any |
311 // accelerator keys that it did not process. This gives the tab a chance | 316 // 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... |
561 virtual void Observe(NotificationType type, | 566 virtual void Observe(NotificationType type, |
562 const NotificationSource& source, | 567 const NotificationSource& source, |
563 const NotificationDetails& details); | 568 const NotificationDetails& details); |
564 | 569 |
565 void OnRemoveProvider(); // Called via PostTask | 570 void OnRemoveProvider(); // Called via PostTask |
566 | 571 |
567 NotificationRegistrar registrar_; | 572 NotificationRegistrar registrar_; |
568 }; | 573 }; |
569 | 574 |
570 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 575 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |