| 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 ed4e9d2b3c2b6cc6a44eac3107fbe5ddeef4ba20..9e4a50d88297ee73e520caba4c638f97ef322350 100644
|
| --- a/chrome/browser/automation/automation_provider_observers.h
|
| +++ b/chrome/browser/automation/automation_provider_observers.h
|
| @@ -1505,4 +1505,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);
|
| +};
|
| #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
|
|
|