summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 00:37:34 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-17 00:37:34 +0000
commit34b3680e16699f573c9ecedb580837d1638b8259 (patch)
treefc8c9d75856d593ed36b84ee17f1e33a46b0ec5d /chrome/browser/extensions
parentc06fa698843c03485193a433ec12acd352135db7 (diff)
downloadchromium_src-34b3680e16699f573c9ecedb580837d1638b8259.zip
chromium_src-34b3680e16699f573c9ecedb580837d1638b8259.tar.gz
chromium_src-34b3680e16699f573c9ecedb580837d1638b8259.tar.bz2
Move context menu module out of experimental.
BUG=48725,39508 Review URL: http://codereview.chromium.org/2840038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extension_context_menu_api.h8
-rw-r--r--chrome/browser/extensions/extension_context_menu_apitest.cc8
2 files changed, 6 insertions, 10 deletions
diff --git a/chrome/browser/extensions/extension_context_menu_api.h b/chrome/browser/extensions/extension_context_menu_api.h
index 3362aae..bfd0d12 100644
--- a/chrome/browser/extensions/extension_context_menu_api.h
+++ b/chrome/browser/extensions/extension_context_menu_api.h
@@ -46,25 +46,25 @@ class ExtensionContextMenuFunction : public SyncExtensionFunction {
class CreateContextMenuFunction : public ExtensionContextMenuFunction {
~CreateContextMenuFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.contextMenus.create")
+ DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.create")
};
class UpdateContextMenuFunction : public ExtensionContextMenuFunction {
~UpdateContextMenuFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.contextMenus.update")
+ DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.update")
};
class RemoveContextMenuFunction : public ExtensionContextMenuFunction {
~RemoveContextMenuFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.contextMenus.remove")
+ DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.remove")
};
class RemoveAllContextMenusFunction : public ExtensionContextMenuFunction {
~RemoveAllContextMenusFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.contextMenus.removeAll")
+ DECLARE_EXTENSION_FUNCTION_NAME("contextMenus.removeAll")
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTEXT_MENU_API_H__
diff --git a/chrome/browser/extensions/extension_context_menu_apitest.cc b/chrome/browser/extensions/extension_context_menu_apitest.cc
index ac8b114..1ae6edf 100644
--- a/chrome/browser/extensions/extension_context_menu_apitest.cc
+++ b/chrome/browser/extensions/extension_context_menu_apitest.cc
@@ -7,10 +7,6 @@
#include "chrome/common/chrome_switches.h"
IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContextMenus) {
- // TODO(asargent): Remove when context menu API is no longer experimental
- // (http://crbug.com/39508).
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kEnableExperimentalExtensionApis);
-
- ASSERT_TRUE(RunExtensionTest("context_menus")) << message_;
+ ASSERT_TRUE(RunExtensionTest("context_menus/basics")) << message_;
+ ASSERT_TRUE(RunExtensionTest("context_menus/no_perms")) << message_;
}