OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #if defined(OS_MACOSX) | 9 #if defined(OS_MACOSX) |
10 #include "base/mac/mac_util.h" | 10 #include "base/mac/mac_util.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "chrome/common/chrome_notification_types.h" | 33 #include "chrome/common/chrome_notification_types.h" |
34 #include "chrome/common/chrome_switches.h" | 34 #include "chrome/common/chrome_switches.h" |
35 #include "chrome/common/extensions/extension.h" | 35 #include "chrome/common/extensions/extension.h" |
36 #include "chrome/common/url_constants.h" | 36 #include "chrome/common/url_constants.h" |
37 #include "chrome/test/base/in_process_browser_test.h" | 37 #include "chrome/test/base/in_process_browser_test.h" |
38 #include "chrome/test/base/ui_test_utils.h" | 38 #include "chrome/test/base/ui_test_utils.h" |
39 #include "content/browser/renderer_host/render_process_host.h" | 39 #include "content/browser/renderer_host/render_process_host.h" |
40 #include "content/browser/renderer_host/render_view_host.h" | 40 #include "content/browser/renderer_host/render_view_host.h" |
41 #include "content/browser/tab_contents/tab_contents.h" | 41 #include "content/browser/tab_contents/tab_contents.h" |
42 #include "content/common/notification_source.h" | 42 #include "content/common/notification_source.h" |
43 #include "content/common/url_constants.h" | |
44 #include "content/public/common/page_transition_types.h" | 43 #include "content/public/common/page_transition_types.h" |
| 44 #include "content/public/common/url_constants.h" |
45 #include "grit/chromium_strings.h" | 45 #include "grit/chromium_strings.h" |
46 #include "grit/generated_resources.h" | 46 #include "grit/generated_resources.h" |
47 #include "net/base/mock_host_resolver.h" | 47 #include "net/base/mock_host_resolver.h" |
48 #include "net/test/test_server.h" | 48 #include "net/test/test_server.h" |
49 #include "ui/base/l10n/l10n_util.h" | 49 #include "ui/base/l10n/l10n_util.h" |
50 | 50 |
51 #if defined(OS_WIN) | 51 #if defined(OS_WIN) |
52 #include "base/i18n/rtl.h" | 52 #include "base/i18n/rtl.h" |
53 #include "chrome/browser/browser_process.h" | 53 #include "chrome/browser/browser_process.h" |
54 #endif | 54 #endif |
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1178 | 1178 |
1179 // The normal browser should now have four. | 1179 // The normal browser should now have four. |
1180 EXPECT_EQ(4, browser()->tab_count()); | 1180 EXPECT_EQ(4, browser()->tab_count()); |
1181 | 1181 |
1182 // Close the additional browsers. | 1182 // Close the additional browsers. |
1183 popup_browser->CloseAllTabs(); | 1183 popup_browser->CloseAllTabs(); |
1184 app_browser->CloseAllTabs(); | 1184 app_browser->CloseAllTabs(); |
1185 app_popup_browser->CloseAllTabs(); | 1185 app_popup_browser->CloseAllTabs(); |
1186 } | 1186 } |
1187 #endif | 1187 #endif |
OLD | NEW |