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

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

Issue 7277073: Support for adding save page download items into downloads history. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 base::WeakPtr<AutomationProvider> automation_; 1251 base::WeakPtr<AutomationProvider> automation_;
1252 scoped_ptr<IPC::Message> reply_message_; 1252 scoped_ptr<IPC::Message> reply_message_;
1253 NavigationController* controller_; 1253 NavigationController* controller_;
1254 1254
1255 DISALLOW_COPY_AND_ASSIGN(OmniboxAcceptNotificationObserver); 1255 DISALLOW_COPY_AND_ASSIGN(OmniboxAcceptNotificationObserver);
1256 }; 1256 };
1257 1257
1258 // Allows the automation provider to wait for a save package notification. 1258 // Allows the automation provider to wait for a save package notification.
1259 class SavePackageNotificationObserver : public NotificationObserver { 1259 class SavePackageNotificationObserver : public NotificationObserver {
1260 public: 1260 public:
1261 SavePackageNotificationObserver(SavePackage* save_package, 1261 SavePackageNotificationObserver(DownloadManager* download_manager,
1262 AutomationProvider* automation, 1262 AutomationProvider* automation,
1263 IPC::Message* reply_message); 1263 IPC::Message* reply_message);
1264 virtual ~SavePackageNotificationObserver(); 1264 virtual ~SavePackageNotificationObserver();
1265 1265
1266 virtual void Observe(int type, 1266 virtual void Observe(int type,
1267 const NotificationSource& source, 1267 const NotificationSource& source,
1268 const NotificationDetails& details); 1268 const NotificationDetails& details);
1269 1269
1270 private: 1270 private:
1271 NotificationRegistrar registrar_; 1271 NotificationRegistrar registrar_;
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1638 1638
1639 private: 1639 private:
1640 NotificationRegistrar registrar_; 1640 NotificationRegistrar registrar_;
1641 base::WeakPtr<AutomationProvider> automation_; 1641 base::WeakPtr<AutomationProvider> automation_;
1642 scoped_ptr<IPC::Message> reply_message_; 1642 scoped_ptr<IPC::Message> reply_message_;
1643 1643
1644 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver); 1644 DISALLOW_COPY_AND_ASSIGN(DragTargetDropAckNotificationObserver);
1645 }; 1645 };
1646 1646
1647 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1647 #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