summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/testing_automation_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/automation/testing_automation_provider.h')
-rw-r--r--chrome/browser/automation/testing_automation_provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index 979e7aa..b5192f7 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -1479,6 +1479,9 @@ class TestingAutomationProvider : public AutomationProvider,
const string16& frame_xpath, const string16& script,
IPC::Message* reply_message, content::RenderViewHost* render_view_host);
+ // Selects the given |browser| and |tab| if not selected already.
+ void EnsureTabSelected(Browser* browser, content::WebContents* tab);
+
#if defined(OS_CHROMEOS)
// Avoid scoped ptr here to avoid having to define it completely in the
// non-ChromeOS code.