OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "apps/app_window.h" | 5 #include "apps/app_window.h" |
6 #include "apps/app_window_registry.h" | 6 #include "apps/app_window_registry.h" |
7 #include "apps/launcher.h" | 7 #include "apps/launcher.h" |
8 #include "apps/ui/native_app_window.h" | |
9 #include "base/bind.h" | 8 #include "base/bind.h" |
10 #include "base/command_line.h" | 9 #include "base/command_line.h" |
11 #include "base/file_util.h" | 10 #include "base/file_util.h" |
12 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
13 #include "base/prefs/pref_service.h" | 12 #include "base/prefs/pref_service.h" |
14 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
15 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
16 #include "chrome/app/chrome_command_ids.h" | 15 #include "chrome/app/chrome_command_ids.h" |
17 #include "chrome/browser/apps/app_browsertest_util.h" | 16 #include "chrome/browser/apps/app_browsertest_util.h" |
18 #include "chrome/browser/chrome_notification_types.h" | 17 #include "chrome/browser/chrome_notification_types.h" |
(...skipping 12 matching lines...) Expand all Loading... |
31 #include "chrome/common/pref_names.h" | 30 #include "chrome/common/pref_names.h" |
32 #include "chrome/common/url_constants.h" | 31 #include "chrome/common/url_constants.h" |
33 #include "chrome/test/base/test_switches.h" | 32 #include "chrome/test/base/test_switches.h" |
34 #include "chrome/test/base/ui_test_utils.h" | 33 #include "chrome/test/base/ui_test_utils.h" |
35 #include "components/pref_registry/pref_registry_syncable.h" | 34 #include "components/pref_registry/pref_registry_syncable.h" |
36 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 35 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
37 #include "content/public/browser/devtools_agent_host.h" | 36 #include "content/public/browser/devtools_agent_host.h" |
38 #include "content/public/browser/render_process_host.h" | 37 #include "content/public/browser/render_process_host.h" |
39 #include "content/public/browser/render_widget_host_view.h" | 38 #include "content/public/browser/render_widget_host_view.h" |
40 #include "content/public/test/test_utils.h" | 39 #include "content/public/test/test_utils.h" |
| 40 #include "extensions/browser/app_window/native_app_window.h" |
41 #include "extensions/browser/event_router.h" | 41 #include "extensions/browser/event_router.h" |
42 #include "extensions/browser/extension_prefs.h" | 42 #include "extensions/browser/extension_prefs.h" |
43 #include "extensions/browser/extension_system.h" | 43 #include "extensions/browser/extension_system.h" |
44 #include "extensions/browser/notification_types.h" | 44 #include "extensions/browser/notification_types.h" |
45 #include "extensions/browser/pref_names.h" | 45 #include "extensions/browser/pref_names.h" |
46 #include "extensions/common/api/app_runtime.h" | 46 #include "extensions/common/api/app_runtime.h" |
47 #include "net/test/embedded_test_server/embedded_test_server.h" | 47 #include "net/test/embedded_test_server/embedded_test_server.h" |
48 #include "url/gurl.h" | 48 #include "url/gurl.h" |
49 | 49 |
50 #if defined(OS_CHROMEOS) | 50 #if defined(OS_CHROMEOS) |
(...skipping 1269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 LoadAndLaunchPlatformApp("reinstall_data_cleanup", "Launched"); | 1320 LoadAndLaunchPlatformApp("reinstall_data_cleanup", "Launched"); |
1321 ASSERT_TRUE(extension); | 1321 ASSERT_TRUE(extension); |
1322 ASSERT_EQ(extension_id, extension->id()); | 1322 ASSERT_EQ(extension_id, extension->id()); |
1323 | 1323 |
1324 ExtensionApiTest::ResultCatcher result_catcher; | 1324 ExtensionApiTest::ResultCatcher result_catcher; |
1325 EXPECT_TRUE(result_catcher.GetNextResult()); | 1325 EXPECT_TRUE(result_catcher.GetNextResult()); |
1326 } | 1326 } |
1327 } | 1327 } |
1328 | 1328 |
1329 } // namespace extensions | 1329 } // namespace extensions |
OLD | NEW |