Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: chrome/browser/extensions/api/automation_internal/automation_internal_api.h

Issue 203753002: Implement actions for Automation API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698