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

Side by Side Diff: chrome/browser/extensions/api/context_menu/context_menu_apitest.cc

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master Created 8 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) 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 #include "chrome/browser/extensions/extension_apitest.h" 5 #include "chrome/browser/extensions/extension_apitest.h"
6 #include "chrome/browser/extensions/extension_browser_event_router.h"
7 #include "chrome/browser/extensions/extension_service.h" 6 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
10 #include "chrome/common/extensions/extension_action.h" 9 #include "chrome/common/extensions/extension_action.h"
11 #include "chrome/test/base/ui_test_utils.h" 10 #include "chrome/test/base/ui_test_utils.h"
12 11
13 namespace extensions { 12 namespace extensions {
14 13
15 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContextMenus) { 14 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ContextMenus) {
16 ASSERT_TRUE(RunExtensionTest("context_menus/basics")) << message_; 15 ASSERT_TRUE(RunExtensionTest("context_menus/basics")) << message_;
(...skipping 22 matching lines...) Expand all
39 { 38 {
40 // Tell the extension to update the page action state again. 39 // Tell the extension to update the page action state again.
41 ResultCatcher catcher; 40 ResultCatcher catcher;
42 ui_test_utils::NavigateToURL(browser(), 41 ui_test_utils::NavigateToURL(browser(),
43 extension->GetResourceURL("popup2.html")); 42 extension->GetResourceURL("popup2.html"));
44 ASSERT_TRUE(catcher.GetNextResult()); 43 ASSERT_TRUE(catcher.GetNextResult());
45 } 44 }
46 } 45 }
47 46
48 } // namespace extensions 47 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/app/app_api.cc ('k') | chrome/browser/extensions/api/cookies/cookies_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698