Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: chrome/browser/automation/automation_provider_observers.h

Issue 7055004: File upload API in chromedriver (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixing broken build on Windows Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 1529
1530 // Sends the |reply_message_| to |automation_| indicating we're done. 1530 // Sends the |reply_message_| to |automation_| indicating we're done.
1531 void RunOnUIThread(); 1531 void RunOnUIThread();
1532 1532
1533 base::WeakPtr<AutomationProvider> automation_; 1533 base::WeakPtr<AutomationProvider> automation_;
1534 scoped_ptr<IPC::Message> reply_message_; 1534 scoped_ptr<IPC::Message> reply_message_;
1535 1535
1536 DISALLOW_COPY_AND_ASSIGN(WaitForProcessLauncherThreadToGoIdleObserver); 1536 DISALLOW_COPY_AND_ASSIGN(WaitForProcessLauncherThreadToGoIdleObserver);
1537 }; 1537 };
1538 1538
1539 // Allows the automation provider to wait for acknowledgement that a drop
1540 // operation has been processed by the renderer.
1541 class DragTargetDropAckNotificationObserver : public NotificationObserver {
1542 public:
1543 DragTargetDropAckNotificationObserver(AutomationProvider* automation,
1544 IPC::Message* reply_message);
1545 virtual ~DragTargetDropAckNotificationObserver();
1546
1547 virtual void Observe(NotificationType type,
1548 const NotificationSource& source,
1549 const NotificationDetails& details);
1550
1551 private:
1552 NotificationRegistrar registrar_;
1553 base::WeakPtr<AutomationProvider> automation_;
1554 scoped_ptr<IPC::Message> reply_message_;
1555
1556 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver);
1557 };
1558
1539 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1559 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698