| OLD | NEW |
| 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/app/chrome_command_ids.h" | 5 #include "chrome/app/chrome_command_ids.h" |
| 6 #include "chrome/browser/automation/automation_util.h" | 6 #include "chrome/browser/automation/automation_util.h" |
| 7 #include "chrome/browser/tab_contents/render_view_context_menu.h" | 7 #include "chrome/browser/tab_contents/render_view_context_menu.h" |
| 8 #include "chrome/browser/extensions/extension_test_message_listener.h" | 8 #include "chrome/browser/extensions/extension_test_message_listener.h" |
| 9 #include "chrome/browser/extensions/platform_app_browsertest_util.h" | 9 #include "chrome/browser/extensions/platform_app_browsertest_util.h" |
| 10 #include "chrome/browser/extensions/shell_window_registry.h" | 10 #include "chrome/browser/extensions/shell_window_registry.h" |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, OpenLink) { | 335 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, OpenLink) { |
| 336 ASSERT_TRUE(StartTestServer()); | 336 ASSERT_TRUE(StartTestServer()); |
| 337 content::WindowedNotificationObserver observer( | 337 content::WindowedNotificationObserver observer( |
| 338 chrome::NOTIFICATION_TAB_ADDED, | 338 chrome::NOTIFICATION_TAB_ADDED, |
| 339 content::Source<content::WebContentsDelegate>(browser())); | 339 content::Source<content::WebContentsDelegate>(browser())); |
| 340 LoadAndLaunchPlatformApp("open_link"); | 340 LoadAndLaunchPlatformApp("open_link"); |
| 341 observer.Wait(); | 341 observer.Wait(); |
| 342 ASSERT_EQ(2, browser()->tab_count()); | 342 ASSERT_EQ(2, browser()->tab_count()); |
| 343 } | 343 } |
| 344 | 344 |
| 345 IN_PROC_BROWSER_TEST_F(PlatformAppBrowserTest, MutationEventsDisabled) { |
| 346 ASSERT_TRUE(RunPlatformAppTest("platform_apps/mutation_events")) << message_; |
| 347 } |
| 348 |
| 345 } // namespace extensions | 349 } // namespace extensions |
| OLD | NEW |