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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 int* tab_handle); | 352 int* tab_handle); |
353 | 353 |
354 void ConnectExternalTab(uint64 cookie, | 354 void ConnectExternalTab(uint64 cookie, |
355 bool allow, | 355 bool allow, |
356 gfx::NativeWindow* tab_container_window, | 356 gfx::NativeWindow* tab_container_window, |
357 gfx::NativeWindow* tab_window, | 357 gfx::NativeWindow* tab_window, |
358 int* tab_handle); | 358 int* tab_handle); |
359 | 359 |
360 void OnSetPageFontSize(int tab_handle, int font_size); | 360 void OnSetPageFontSize(int tab_handle, int font_size); |
361 | 361 |
| 362 // See browsing_data_remover.h for explanation of bitmap fields. |
| 363 void RemoveBrowsingData(int remove_mask); |
| 364 |
362 void InstallExtension(const FilePath& crx_path, | 365 void InstallExtension(const FilePath& crx_path, |
363 IPC::Message* reply_message); | 366 IPC::Message* reply_message); |
364 | 367 |
365 void LoadExpandedExtension(const FilePath& extension_dir, | 368 void LoadExpandedExtension(const FilePath& extension_dir, |
366 IPC::Message* reply_message); | 369 IPC::Message* reply_message); |
367 | 370 |
368 void GetEnabledExtensions(std::vector<FilePath>* result); | 371 void GetEnabledExtensions(std::vector<FilePath>* result); |
369 | 372 |
370 void NavigateInExternalTab( | 373 void NavigateInExternalTab( |
371 int handle, const GURL& url, const GURL& referrer, | 374 int handle, const GURL& url, const GURL& referrer, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 virtual void Observe(NotificationType type, | 672 virtual void Observe(NotificationType type, |
670 const NotificationSource& source, | 673 const NotificationSource& source, |
671 const NotificationDetails& details); | 674 const NotificationDetails& details); |
672 | 675 |
673 void OnRemoveProvider(); // Called via PostTask | 676 void OnRemoveProvider(); // Called via PostTask |
674 | 677 |
675 NotificationRegistrar registrar_; | 678 NotificationRegistrar registrar_; |
676 }; | 679 }; |
677 | 680 |
678 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 681 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
OLD | NEW |