| Index: chrome/browser/external_tab_container.h
|
| ===================================================================
|
| --- chrome/browser/external_tab_container.h (revision 31172)
|
| +++ chrome/browser/external_tab_container.h (working copy)
|
| @@ -155,6 +155,12 @@
|
| // Returns NULL if we fail to find the cookie in the map.
|
| static ExternalTabContainer* RemovePendingTab(intptr_t cookie);
|
|
|
| + // Enables extension automation (for e.g. UITests), with the current tab
|
| + // used as a conduit for the extension API messages being handled by the
|
| + // automation client.
|
| + void SetEnableExtensionAutomation(
|
| + const std::vector<std::string>& functions_enabled);
|
| +
|
| protected:
|
| // Overridden from views::WidgetWin:
|
| virtual LRESULT OnCreate(LPCREATESTRUCT create_struct);
|
| @@ -210,6 +216,9 @@
|
| // Contains ExternalTabContainers that have not been connected to as yet.
|
| static PendingTabs pending_tabs_;
|
|
|
| + // True if this tab is currently the conduit for extension API automation.
|
| + bool enabled_extension_automation_;
|
| +
|
| // Allows us to run tasks on the ExternalTabContainer instance which are
|
| // bound by its lifetime.
|
| ScopedRunnableMethodFactory<ExternalTabContainer> external_method_factory_;
|
|
|