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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/test/test_timeouts.h" | 6 #include "base/test/test_timeouts.h" |
7 #include "base/threading/platform_thread.h" | 7 #include "base/threading/platform_thread.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
9 #include "chrome/app/chrome_command_ids.h" | 9 #include "chrome/app/chrome_command_ids.h" |
10 #include "chrome/browser/automation/automation_util.h" | 10 #include "chrome/browser/automation/automation_util.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/extensions/platform_app_launcher.h" | 21 #include "chrome/browser/extensions/platform_app_launcher.h" |
22 #include "chrome/browser/extensions/shell_window_registry.h" | 22 #include "chrome/browser/extensions/shell_window_registry.h" |
23 #include "chrome/browser/lifetime/application_lifetime.h" | 23 #include "chrome/browser/lifetime/application_lifetime.h" |
24 #include "chrome/browser/prefs/pref_service.h" | 24 #include "chrome/browser/prefs/pref_service.h" |
25 #include "chrome/browser/tab_contents/render_view_context_menu.h" | 25 #include "chrome/browser/tab_contents/render_view_context_menu.h" |
26 #include "chrome/browser/ui/browser.h" | 26 #include "chrome/browser/ui/browser.h" |
27 #include "chrome/browser/ui/browser_tabstrip.h" | 27 #include "chrome/browser/ui/browser_tabstrip.h" |
28 #include "chrome/browser/ui/browser_window.h" | 28 #include "chrome/browser/ui/browser_window.h" |
29 #include "chrome/browser/ui/constrained_window_tab_helper.h" | 29 #include "chrome/browser/ui/constrained_window_tab_helper.h" |
30 #include "chrome/browser/ui/extensions/application_launch.h" | 30 #include "chrome/browser/ui/extensions/application_launch.h" |
| 31 #include "chrome/browser/ui/extensions/native_app_window.h" |
31 #include "chrome/browser/ui/extensions/shell_window.h" | 32 #include "chrome/browser/ui/extensions/shell_window.h" |
32 #include "chrome/browser/ui/tab_contents/tab_contents.h" | 33 #include "chrome/browser/ui/tab_contents/tab_contents.h" |
33 #include "chrome/common/chrome_notification_types.h" | 34 #include "chrome/common/chrome_notification_types.h" |
34 #include "chrome/common/url_constants.h" | 35 #include "chrome/common/url_constants.h" |
35 #include "chrome/test/base/ui_test_utils.h" | 36 #include "chrome/test/base/ui_test_utils.h" |
36 #include "content/public/browser/devtools_agent_host_registry.h" | 37 #include "content/public/browser/devtools_agent_host_registry.h" |
37 #include "content/public/browser/render_process_host.h" | 38 #include "content/public/browser/render_process_host.h" |
38 #include "content/public/browser/web_intents_dispatcher.h" | 39 #include "content/public/browser/web_intents_dispatcher.h" |
39 #include "content/public/test/test_utils.h" | 40 #include "content/public/test/test_utils.h" |
40 #include "googleurl/src/gurl.h" | 41 #include "googleurl/src/gurl.h" |
(...skipping 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 application_launch::OpenApplication(application_launch::LaunchParams( | 952 application_launch::OpenApplication(application_launch::LaunchParams( |
952 browser()->profile(), extension, extension_misc::LAUNCH_NONE, | 953 browser()->profile(), extension, extension_misc::LAUNCH_NONE, |
953 NEW_WINDOW)); | 954 NEW_WINDOW)); |
954 | 955 |
955 ASSERT_TRUE(launched_listener.WaitUntilSatisfied()); | 956 ASSERT_TRUE(launched_listener.WaitUntilSatisfied()); |
956 | 957 |
957 CloseShellWindowsAndWaitForAppToExit(); | 958 CloseShellWindowsAndWaitForAppToExit(); |
958 } | 959 } |
959 | 960 |
960 } // namespace extensions | 961 } // namespace extensions |
OLD | NEW |