#ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_API_H_
#include "chrome/browser/extensions/chrome_extension_function.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
#include "extensions/browser/event_router.h"
namespace content {
struct AXEventNotificationDetails;
}
namespace ui {
struct AXNodeData;
}
namespace extensions {
class AutomationInternalEnableCurrentTabFunction
: public ChromeAsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("automationInternal.enableCurrentTab",
AUTOMATIONINTERNAL_ENABLECURRENTTAB)
protected:
virtual ~AutomationInternalEnableCurrentTabFunction() {}
virtual bool RunImpl() OVERRIDE;
};
class AutomationInternalPerformActionFunction
: public ChromeAsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("automationInternal.performAction",
AUTOMATIONINTERNAL_PERFORMACTION)
protected:
virtual ~AutomationInternalPerformActionFunction() {}
virtual bool RunImpl() OVERRIDE;
};
}
#endif