| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class CreditCard; | 50 class CreditCard; |
| 51 class DictionaryValue; | 51 class DictionaryValue; |
| 52 class Extension; | 52 class Extension; |
| 53 class ExtensionPortContainer; | 53 class ExtensionPortContainer; |
| 54 class ExtensionTestResultNotificationObserver; | 54 class ExtensionTestResultNotificationObserver; |
| 55 class ExternalTabContainer; | 55 class ExternalTabContainer; |
| 56 class LoginHandler; | 56 class LoginHandler; |
| 57 class MetricEventDurationObserver; | 57 class MetricEventDurationObserver; |
| 58 class InitialLoadObserver; | 58 class InitialLoadObserver; |
| 59 class NavigationControllerRestoredObserver; | 59 class NavigationControllerRestoredObserver; |
| 60 class TranslateInfoBarDelegate; | |
| 61 struct AutocompleteMatchData; | 60 struct AutocompleteMatchData; |
| 62 | 61 |
| 63 namespace gfx { | 62 namespace gfx { |
| 64 class Point; | 63 class Point; |
| 65 } | 64 } |
| 66 | 65 |
| 67 namespace webkit_glue { | |
| 68 struct PasswordForm; | |
| 69 } | |
| 70 | |
| 71 class AutomationProvider : public base::RefCounted<AutomationProvider>, | 66 class AutomationProvider : public base::RefCounted<AutomationProvider>, |
| 72 public IPC::Channel::Listener, | 67 public IPC::Channel::Listener, |
| 73 public IPC::Message::Sender { | 68 public IPC::Message::Sender { |
| 74 public: | 69 public: |
| 75 explicit AutomationProvider(Profile* profile); | 70 explicit AutomationProvider(Profile* profile); |
| 76 | 71 |
| 77 Profile* profile() const { return profile_; } | 72 Profile* profile() const { return profile_; } |
| 78 | 73 |
| 79 // Establishes a connection to an automation client, if present. | 74 // Establishes a connection to an automation client, if present. |
| 80 // An AutomationProxy should be established (probably in a different process) | 75 // An AutomationProxy should be established (probably in a different process) |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 virtual void Observe(NotificationType type, | 990 virtual void Observe(NotificationType type, |
| 996 const NotificationSource& source, | 991 const NotificationSource& source, |
| 997 const NotificationDetails& details); | 992 const NotificationDetails& details); |
| 998 | 993 |
| 999 void OnRemoveProvider(); // Called via PostTask | 994 void OnRemoveProvider(); // Called via PostTask |
| 1000 | 995 |
| 1001 NotificationRegistrar registrar_; | 996 NotificationRegistrar registrar_; |
| 1002 }; | 997 }; |
| 1003 | 998 |
| 1004 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ | 999 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |