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

Side by Side Diff: chrome/browser/extensions/api/tabs/execute_code_in_tab_function.h

Issue 10544023: Moving the tabs_module API into a separate directory in api/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Correcting the order of includes. Created 8 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXECUTE_CODE_IN_TAB_FUNCTION_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXECUTE_CODE_IN_TAB_FUNCTION_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/extensions/extension_function.h" 11 #include "chrome/browser/extensions/extension_function.h"
12 #include "chrome/common/extensions/extension_resource.h" 12 #include "chrome/common/extensions/extension_resource.h"
13 #include "chrome/common/extensions/user_script.h" 13 #include "chrome/common/extensions/user_script.h"
14 14
15 // Implement API call tabs.executeScript and tabs.insertCSS. 15 // Implement API call tabs.executeScript and tabs.insertCSS.
16 class ExecuteCodeInTabFunction : public AsyncExtensionFunction { 16 class ExecuteCodeInTabFunction : public AsyncExtensionFunction {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 DECLARE_EXTENSION_FUNCTION_NAME("tabs.executeScript") 70 DECLARE_EXTENSION_FUNCTION_NAME("tabs.executeScript")
71 }; 71 };
72 72
73 class TabsInsertCSSFunction : public ExecuteCodeInTabFunction { 73 class TabsInsertCSSFunction : public ExecuteCodeInTabFunction {
74 private: 74 private:
75 virtual ~TabsInsertCSSFunction() {} 75 virtual ~TabsInsertCSSFunction() {}
76 76
77 DECLARE_EXTENSION_FUNCTION_NAME("tabs.insertCSS") 77 DECLARE_EXTENSION_FUNCTION_NAME("tabs.insertCSS")
78 }; 78 };
79 79
80 #endif // CHROME_BROWSER_EXTENSIONS_EXECUTE_CODE_IN_TAB_FUNCTION_H__ 80 #endif // CHROME_BROWSER_EXTENSIONS_API_TABS_EXECUTE_CODE_IN_TAB_FUNCTION_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698