Enable Enterprise enrollment on desktop builds.
[chromium-blink-merge.git] / chrome / browser / extensions / api / automation_internal / automation_internal_api.h
blobf82867bb845148ef5182c5085ac350b31e8a5f58
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_API_H_
8 #include "chrome/browser/extensions/chrome_extension_function.h"
9 #include "content/public/browser/web_contents_observer.h"
10 #include "content/public/browser/web_contents_user_data.h"
12 namespace content {
13 struct AXEventNotificationDetails;
14 } // namespace content
16 namespace ui {
17 struct AXNodeData;
20 namespace extensions {
22 // Implementation of the chrome.automation API.
23 class AutomationInternalEnableCurrentTabFunction
24 : public ChromeAsyncExtensionFunction {
25 DECLARE_EXTENSION_FUNCTION("automationInternal.enableCurrentTab",
26 AUTOMATIONINTERNAL_ENABLECURRENTTAB)
27 protected:
28 virtual ~AutomationInternalEnableCurrentTabFunction() {}
30 virtual bool RunImpl() OVERRIDE;
33 class AutomationInternalPerformActionFunction
34 : public ChromeAsyncExtensionFunction {
35 DECLARE_EXTENSION_FUNCTION("automationInternal.performAction",
36 AUTOMATIONINTERNAL_PERFORMACTION)
37 protected:
38 virtual ~AutomationInternalPerformActionFunction() {}
40 virtual bool RunImpl() OVERRIDE;
43 } // namespace extensions
45 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_API_H_