| 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 |
| 11 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 11 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| 12 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 12 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "base/basictypes.h" | 18 #include "base/basictypes.h" |
| 19 #include "base/scoped_ptr.h" | 19 #include "base/scoped_ptr.h" |
| 20 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h" | 20 #include "chrome/browser/automation/automation_autocomplete_edit_tracker.h" |
| 21 #include "chrome/browser/automation/automation_browser_tracker.h" | 21 #include "chrome/browser/automation/automation_browser_tracker.h" |
| 22 #include "chrome/browser/automation/automation_resource_message_filter.h" | 22 #include "chrome/browser/automation/automation_resource_message_filter.h" |
| 23 #include "chrome/browser/automation/automation_tab_tracker.h" | 23 #include "chrome/browser/automation/automation_tab_tracker.h" |
| 24 #include "chrome/browser/automation/automation_window_tracker.h" | 24 #include "chrome/browser/automation/automation_window_tracker.h" |
| 25 #include "chrome/browser/browser_list.h" | 25 #include "chrome/browser/browser_list.h" |
| 26 #include "chrome/browser/history/history.h" | 26 #include "chrome/browser/history/history.h" |
| 27 #include "chrome/browser/tab_contents/navigation_entry.h" | 27 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 28 #include "chrome/common/ipc_message.h" | |
| 29 #include "chrome/common/ipc_channel.h" | |
| 30 #include "chrome/common/notification_registrar.h" | 28 #include "chrome/common/notification_registrar.h" |
| 31 #include "chrome/test/automation/automation_constants.h" | 29 #include "chrome/test/automation/automation_constants.h" |
| 30 #include "ipc/ipc_message.h" |
| 31 #include "ipc/ipc_channel.h" |
| 32 #if defined(OS_WIN) | 32 #if defined(OS_WIN) |
| 33 #include "views/event.h" | 33 #include "views/event.h" |
| 34 #endif // defined(OS_WIN) | 34 #endif // defined(OS_WIN) |
| 35 | 35 |
| 36 struct AutomationMsg_Find_Params; | 36 struct AutomationMsg_Find_Params; |
| 37 | 37 |
| 38 namespace IPC { | 38 namespace IPC { |
| 39 struct Reposition_Params; | 39 struct Reposition_Params; |
| 40 struct ExternalTabSettings; | 40 struct ExternalTabSettings; |
| 41 } | 41 } |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 virtual void Observe(NotificationType type, | 527 virtual void Observe(NotificationType type, |
| 528 const NotificationSource& source, | 528 const NotificationSource& source, |
| 529 const NotificationDetails& details); | 529 const NotificationDetails& details); |
| 530 | 530 |
| 531 void OnRemoveProvider(); // Called via PostTask | 531 void OnRemoveProvider(); // Called via PostTask |
| 532 | 532 |
| 533 NotificationRegistrar registrar_; | 533 NotificationRegistrar registrar_; |
| 534 }; | 534 }; |
| 535 | 535 |
| 536 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 536 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |