OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_AP
I_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_AP
I_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_AP
I_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL_AP
I_H_ |
7 | 7 |
8 #include "chrome/browser/extensions/chrome_extension_function.h" | 8 #include "chrome/browser/extensions/chrome_extension_function.h" |
9 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
10 #include "content/public/browser/web_contents_user_data.h" | 10 #include "content/public/browser/web_contents_user_data.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 class AutomationInternalEnableCurrentTabFunction | 24 class AutomationInternalEnableCurrentTabFunction |
25 : public ChromeAsyncExtensionFunction { | 25 : public ChromeAsyncExtensionFunction { |
26 DECLARE_EXTENSION_FUNCTION("automationInternal.enableCurrentTab", | 26 DECLARE_EXTENSION_FUNCTION("automationInternal.enableCurrentTab", |
27 AUTOMATIONINTERNAL_ENABLECURRENTTAB) | 27 AUTOMATIONINTERNAL_ENABLECURRENTTAB) |
28 protected: | 28 protected: |
29 virtual ~AutomationInternalEnableCurrentTabFunction() {} | 29 virtual ~AutomationInternalEnableCurrentTabFunction() {} |
30 | 30 |
31 virtual bool RunImpl() OVERRIDE; | 31 virtual bool RunImpl() OVERRIDE; |
32 }; | 32 }; |
33 | 33 |
| 34 class AutomationInternalPerformActionFunction |
| 35 : public ChromeAsyncExtensionFunction { |
| 36 DECLARE_EXTENSION_FUNCTION("automationInternal.performAction", |
| 37 AUTOMATIONINTERNAL_PERFORMACTION) |
| 38 protected: |
| 39 virtual ~AutomationInternalPerformActionFunction() {} |
| 40 |
| 41 virtual bool RunImpl() OVERRIDE; |
| 42 }; |
| 43 |
34 } // namespace extensions | 44 } // namespace extensions |
35 | 45 |
36 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL
_API_H_ | 46 #endif // CHROME_BROWSER_EXTENSIONS_API_AUTOMATION_INTERNAL_AUTOMATION_INTERNAL
_API_H_ |
OLD | NEW |