Chromium Code Reviews| Index: chrome/browser/automation/automation_provider_observers.h |
| diff --git a/chrome/browser/automation/automation_provider_observers.h b/chrome/browser/automation/automation_provider_observers.h |
| index 723635341b57de341c8089caacc430d1e56aad80..ea0f8e2d39e0467c1656271a800d8d83f4f645d8 100644 |
| --- a/chrome/browser/automation/automation_provider_observers.h |
| +++ b/chrome/browser/automation/automation_provider_observers.h |
| @@ -1509,4 +1509,23 @@ class WaitForProcessLauncherThreadToGoIdleObserver |
| DISALLOW_COPY_AND_ASSIGN(WaitForProcessLauncherThreadToGoIdleObserver); |
| }; |
| +// Allows the automation provider to wait for acknowledgement that a drop |
| +// operation has been processed by the renderer. |
| +class DragTargetDropAckNotificationObserver : public NotificationObserver { |
| + public: |
| + DragTargetDropAckNotificationObserver(AutomationProvider* automation, |
| + IPC::Message* reply_message); |
| + virtual ~DragTargetDropAckNotificationObserver(); |
| + |
| + virtual void Observe(NotificationType type, |
| + const NotificationSource& source, |
| + const NotificationDetails& details); |
| + |
| + private: |
| + NotificationRegistrar registrar_; |
| + base::WeakPtr<AutomationProvider> automation_; |
| + scoped_ptr<IPC::Message> reply_message_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); |
| +}; |
|
kkania
2011/06/01 16:16:41
newline here
nodchip
2011/06/02 07:15:53
Done.
|
| #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ |