OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/app/chrome_command_ids.h" | 12 #include "chrome/app/chrome_command_ids.h" |
13 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
14 #include "chrome/browser/defaults.h" | 14 #include "chrome/browser/defaults.h" |
15 #include "chrome/browser/extensions/extension_browsertest.h" | 15 #include "chrome/browser/extensions/extension_browsertest.h" |
16 #include "chrome/browser/extensions/extensions_service.h" | 16 #include "chrome/browser/extensions/extensions_service.h" |
17 #include "chrome/browser/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/renderer_host/render_process_host.h" | 18 #include "chrome/browser/renderer_host/render_process_host.h" |
19 #include "chrome/browser/renderer_host/render_view_host.h" | 19 #include "chrome/browser/renderer_host/render_view_host.h" |
20 #include "chrome/browser/tab_contents/tab_contents.h" | 20 #include "chrome/browser/tab_contents/tab_contents.h" |
21 #include "chrome/browser/tabs/pinned_tab_codec.h" | 21 #include "chrome/browser/tabs/pinned_tab_codec.h" |
22 #include "chrome/browser/tabs/tab_strip_model.h" | 22 #include "chrome/browser/tabs/tab_strip_model.h" |
23 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" | 23 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" |
24 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" | 24 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" |
25 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" | 25 #include "chrome/browser/ui/app_modal_dialogs/native_app_modal_dialog.h" |
26 #include "chrome/browser/ui/browser.h" | 26 #include "chrome/browser/ui/browser.h" |
27 #include "chrome/browser/ui/browser_init.h" | 27 #include "chrome/browser/ui/browser_init.h" |
(...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 | 679 |
680 // The normal browser should now have four. | 680 // The normal browser should now have four. |
681 EXPECT_EQ(4, browser()->tab_count()); | 681 EXPECT_EQ(4, browser()->tab_count()); |
682 | 682 |
683 // Close the additional browsers. | 683 // Close the additional browsers. |
684 popup_browser->CloseAllTabs(); | 684 popup_browser->CloseAllTabs(); |
685 app_browser->CloseAllTabs(); | 685 app_browser->CloseAllTabs(); |
686 app_popup_browser->CloseAllTabs(); | 686 app_popup_browser->CloseAllTabs(); |
687 } | 687 } |
688 #endif | 688 #endif |
OLD | NEW |