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

Side by Side Diff: chrome/browser/extensions/extension_context_menu_apitest.cc

Issue 2840038: Move context menu module out of experimental. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: kathy changes Created 10 years, 5 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/common/chrome_switches.h" 7 #include "chrome/common/chrome_switches.h"
8 8
9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContextMenus) { 9 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContextMenus) {
10 // TODO(asargent): Remove when context menu API is no longer experimental 10 ASSERT_TRUE(RunExtensionTest("context_menus/basics")) << message_;
11 // (http://crbug.com/39508). 11 ASSERT_TRUE(RunExtensionTest("context_menus/no_perms")) << message_;
12 CommandLine::ForCurrentProcess()->AppendSwitch(
13 switches::kEnableExperimentalExtensionApis);
14
15 ASSERT_TRUE(RunExtensionTest("context_menus")) << message_;
16 } 12 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_context_menu_api.h ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698