| 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 void Paste(int tab_handle); | 459 void Paste(int tab_handle); |
| 460 | 460 |
| 461 void ReloadAsync(int tab_handle); | 461 void ReloadAsync(int tab_handle); |
| 462 void StopAsync(int tab_handle); | 462 void StopAsync(int tab_handle); |
| 463 | 463 |
| 464 void WaitForBrowserWindowCountToBecome(int target_count, | 464 void WaitForBrowserWindowCountToBecome(int target_count, |
| 465 IPC::Message* reply_message); | 465 IPC::Message* reply_message); |
| 466 | 466 |
| 467 void WaitForAppModalDialogToBeShown(IPC::Message* reply_message); | 467 void WaitForAppModalDialogToBeShown(IPC::Message* reply_message); |
| 468 | 468 |
| 469 void GoBackBlockUntilNavigationsComplete(int handle, |
| 470 int number_of_navigations, |
| 471 IPC::Message* reply_message); |
| 472 |
| 473 void GoForwardBlockUntilNavigationsComplete(int handle, |
| 474 int number_of_navigations, |
| 475 IPC::Message* reply_message); |
| 476 |
| 469 // Convert a tab handle into a TabContents. If |tab| is non-NULL a pointer | 477 // Convert a tab handle into a TabContents. If |tab| is non-NULL a pointer |
| 470 // to the tab is also returned. Returns NULL in case of failure or if the tab | 478 // to the tab is also returned. Returns NULL in case of failure or if the tab |
| 471 // is not of the TabContents type. | 479 // is not of the TabContents type. |
| 472 TabContents* GetTabContentsForHandle(int handle, NavigationController** tab); | 480 TabContents* GetTabContentsForHandle(int handle, NavigationController** tab); |
| 473 | 481 |
| 474 ExternalTabContainer* GetExternalTabForHandle(int handle); | 482 ExternalTabContainer* GetExternalTabForHandle(int handle); |
| 475 | 483 |
| 476 // Callback for history redirect queries. | 484 // Callback for history redirect queries. |
| 477 virtual void OnRedirectQueryComplete( | 485 virtual void OnRedirectQueryComplete( |
| 478 HistoryService::Handle request_handle, | 486 HistoryService::Handle request_handle, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 virtual void Observe(NotificationType type, | 561 virtual void Observe(NotificationType type, |
| 554 const NotificationSource& source, | 562 const NotificationSource& source, |
| 555 const NotificationDetails& details); | 563 const NotificationDetails& details); |
| 556 | 564 |
| 557 void OnRemoveProvider(); // Called via PostTask | 565 void OnRemoveProvider(); // Called via PostTask |
| 558 | 566 |
| 559 NotificationRegistrar registrar_; | 567 NotificationRegistrar registrar_; |
| 560 }; | 568 }; |
| 561 | 569 |
| 562 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 570 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |