summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 20:26:23 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 20:26:23 +0000
commit713df7366b4db6ec956e9cf0fa8378b709e6b552 (patch)
treea4df2da08f8fe5102a2e76ea3c701f387c3b6126 /chrome/browser/automation/automation_provider.h
parentc4652e96b8dc0b7671ab509706bd95775164ebb0 (diff)
downloadchromium_src-713df7366b4db6ec956e9cf0fa8378b709e6b552.zip
chromium_src-713df7366b4db6ec956e9cf0fa8378b709e6b552.tar.gz
chromium_src-713df7366b4db6ec956e9cf0fa8378b709e6b552.tar.bz2
GTTF: Further separation of testing automation stuff from ChromeFrame
TEST=ui_tests, chrome_frame_tests BUG=52097 Review URL: http://codereview.chromium.org/3186004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.h')
-rw-r--r--chrome/browser/automation/automation_provider.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/chrome/browser/automation/automation_provider.h b/chrome/browser/automation/automation_provider.h
index 9ff8753..fa3504b 100644
--- a/chrome/browser/automation/automation_provider.h
+++ b/chrome/browser/automation/automation_provider.h
@@ -154,12 +154,10 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
friend class PopupMenuWaiter;
virtual ~AutomationProvider();
+ scoped_ptr<AutomationBrowserTracker> browser_tracker_;
+
private:
// IPC Message callbacks.
- void CloseBrowser(int handle, IPC::Message* reply_message);
- void CloseBrowserAsync(int browser_handle);
- void ActivateTab(int handle, int at_index, int* status);
- void AppendTab(int handle, const GURL& url, IPC::Message* reply_message);
void CloseTab(int tab_handle, bool wait_until_closed,
IPC::Message* reply_message);
@@ -931,7 +929,6 @@ class AutomationProvider : public base::RefCounted<AutomationProvider>,
scoped_ptr<ExtensionTestResultNotificationObserver>
extension_test_result_observer_;
scoped_ptr<MetricEventDurationObserver> metric_event_duration_observer_;
- scoped_ptr<AutomationBrowserTracker> browser_tracker_;
scoped_ptr<AutomationExtensionTracker> extension_tracker_;
scoped_ptr<AutomationTabTracker> tab_tracker_;
scoped_ptr<AutomationWindowTracker> window_tracker_;
@@ -984,11 +981,18 @@ class TestingAutomationProvider : public AutomationProvider,
virtual void OnBrowserRemoving(const Browser* browser);
// IPC implementations
+ virtual void OnMessageReceived(const IPC::Message& msg);
virtual void OnChannelError();
private:
virtual ~TestingAutomationProvider();
+ // IPC Message callbacks.
+ void CloseBrowser(int handle, IPC::Message* reply_message);
+ void CloseBrowserAsync(int browser_handle);
+ void ActivateTab(int handle, int at_index, int* status);
+ void AppendTab(int handle, const GURL& url, IPC::Message* reply_message);
+
virtual void Observe(NotificationType type,
const NotificationSource& source,
const NotificationDetails& details);