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

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

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 25 matching lines...) Expand all
36 #include "chrome/browser/history/history_types.h" 36 #include "chrome/browser/history/history_types.h"
37 #include "chrome/browser/importer/importer_data_types.h" 37 #include "chrome/browser/importer/importer_data_types.h"
38 #include "chrome/browser/importer/importer_progress_observer.h" 38 #include "chrome/browser/importer/importer_progress_observer.h"
39 #include "chrome/browser/memory_details.h" 39 #include "chrome/browser/memory_details.h"
40 #include "chrome/browser/password_manager/password_store_change.h" 40 #include "chrome/browser/password_manager/password_store_change.h"
41 #include "chrome/browser/password_manager/password_store_consumer.h" 41 #include "chrome/browser/password_manager/password_store_consumer.h"
42 #include "chrome/browser/search_engines/template_url_service_observer.h" 42 #include "chrome/browser/search_engines/template_url_service_observer.h"
43 #include "chrome/browser/ui/tabs/tab_strip_model.h" 43 #include "chrome/browser/ui/tabs/tab_strip_model.h"
44 #include "chrome/common/automation_constants.h" 44 #include "chrome/common/automation_constants.h"
45 #include "chrome/common/extensions/extension_constants.h" 45 #include "chrome/common/extensions/extension_constants.h"
46 #include "content/public/browser/browser_thread.h"
46 #include "content/public/browser/download_item.h" 47 #include "content/public/browser/download_item.h"
47 #include "content/public/browser/download_manager.h" 48 #include "content/public/browser/download_manager.h"
48 #include "content/public/browser/notification_observer.h" 49 #include "content/public/browser/notification_observer.h"
49 #include "content/public/browser/notification_registrar.h" 50 #include "content/public/browser/notification_registrar.h"
50 #include "content/public/browser/notification_types.h" 51 #include "content/public/browser/notification_types.h"
51 #include "content/public/browser/render_view_host_observer.h" 52 #include "content/public/browser/render_view_host_observer.h"
52 #include "ui/gfx/point.h" 53 #include "ui/gfx/point.h"
53 #include "ui/gfx/size.h" 54 #include "ui/gfx/size.h"
54 55
55 struct AutomationMouseEvent; 56 struct AutomationMouseEvent;
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 // registering observers before proceeding. 1219 // registering observers before proceeding.
1219 base::WaitableEvent done_event_; 1220 base::WaitableEvent done_event_;
1220 1221
1221 DISALLOW_COPY_AND_ASSIGN(PasswordStoreLoginsChangedObserver); 1222 DISALLOW_COPY_AND_ASSIGN(PasswordStoreLoginsChangedObserver);
1222 }; 1223 };
1223 1224
1224 // Allows automation provider to wait until page load after selecting an item 1225 // Allows automation provider to wait until page load after selecting an item
1225 // in the omnibox popup. 1226 // in the omnibox popup.
1226 class OmniboxAcceptNotificationObserver : public content::NotificationObserver { 1227 class OmniboxAcceptNotificationObserver : public content::NotificationObserver {
1227 public: 1228 public:
1228 OmniboxAcceptNotificationObserver(content::NavigationController* controller, 1229 OmniboxAcceptNotificationObserver(content::NavigationController* controller,
1229 AutomationProvider* automation, 1230 AutomationProvider* automation,
1230 IPC::Message* reply_message); 1231 IPC::Message* reply_message);
1231 virtual ~OmniboxAcceptNotificationObserver(); 1232 virtual ~OmniboxAcceptNotificationObserver();
1232 1233
1233 // Overridden from content::NotificationObserver: 1234 // Overridden from content::NotificationObserver:
1234 virtual void Observe(int type, 1235 virtual void Observe(int type,
1235 const content::NotificationSource& source, 1236 const content::NotificationSource& source,
1236 const content::NotificationDetails& details) OVERRIDE; 1237 const content::NotificationDetails& details) OVERRIDE;
1237 1238
1238 private: 1239 private:
1239 content::NotificationRegistrar registrar_; 1240 content::NotificationRegistrar registrar_;
1240 base::WeakPtr<AutomationProvider> automation_; 1241 base::WeakPtr<AutomationProvider> automation_;
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 base::WeakPtr<AutomationProvider> automation_; 1801 base::WeakPtr<AutomationProvider> automation_;
1801 scoped_ptr<IPC::Message> reply_message_; 1802 scoped_ptr<IPC::Message> reply_message_;
1802 int new_window_id_; 1803 int new_window_id_;
1803 int num_loads_; 1804 int num_loads_;
1804 1805
1805 DISALLOW_COPY_AND_ASSIGN( 1806 DISALLOW_COPY_AND_ASSIGN(
1806 BrowserOpenedWithExistingProfileNotificationObserver); 1807 BrowserOpenedWithExistingProfileNotificationObserver);
1807 }; 1808 };
1808 1809
1809 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_ 1810 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROVIDER_OBSERVERS_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_main_parts.h ('k') | chrome/browser/chromeos/drive/drive_download_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698