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

Unified Diff: chrome/browser/automation/automation_provider_observers.h

Issue 11414286: Remove unneeded TabContents::FromWebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 8 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/automation/automation_provider_observers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 142fdbb3242bfd2417115bc5660cb7bc95238d9d..29f5d274659db8d169a36ee4ee32fc07a701acb4 100644
--- a/chrome/browser/automation/automation_provider_observers.h
+++ b/chrome/browser/automation/automation_provider_observers.h
@@ -62,7 +62,6 @@ class InfoBarTabHelper;
class Notification;
class Profile;
class SavePackage;
-class TabContents;
namespace automation {
class Error;
@@ -75,10 +74,6 @@ class WizardScreen;
}
#endif // defined(OS_CHROMEOS)
-namespace IPC {
-class Message;
-}
-
namespace content {
class NavigationController;
class RenderViewHost;
@@ -93,6 +88,10 @@ namespace history {
class TopSites;
}
+namespace IPC {
+class Message;
+}
+
namespace policy {
class BrowserPolicyConnector;
}
@@ -658,7 +657,7 @@ class InfoBarCountObserver : public content::NotificationObserver {
public:
InfoBarCountObserver(AutomationProvider* automation,
IPC::Message* reply_message,
- TabContents* tab_contents,
+ content::WebContents* web_contents,
size_t target_count);
virtual ~InfoBarCountObserver();
@@ -675,7 +674,7 @@ class InfoBarCountObserver : public content::NotificationObserver {
content::NotificationRegistrar registrar_;
base::WeakPtr<AutomationProvider> automation_;
scoped_ptr<IPC::Message> reply_message_;
- TabContents* tab_contents_;
+ content::WebContents* web_contents_;
const size_t target_count_;
@@ -1270,7 +1269,7 @@ class PageSnapshotTaker : public TabEventObserver,
public:
PageSnapshotTaker(AutomationProvider* automation,
IPC::Message* reply_message,
- TabContents* tab_contents,
+ content::WebContents* web_contents,
const FilePath& path);
virtual ~PageSnapshotTaker();
@@ -1294,7 +1293,7 @@ class PageSnapshotTaker : public TabEventObserver,
base::WeakPtr<AutomationProvider> automation_;
scoped_ptr<IPC::Message> reply_message_;
- TabContents* tab_contents_;
+ content::WebContents* web_contents_;
FilePath image_path_;
content::NotificationRegistrar registrar_;
« 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