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 "chrome/browser/ui/browser_init.h" | 5 #include "chrome/browser/ui/browser_init.h" |
6 | 6 |
7 #include <algorithm> // For max(). | 7 #include <algorithm> // For max(). |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "chrome/browser/renderer_host/render_process_host.h" | 42 #include "chrome/browser/renderer_host/render_process_host.h" |
43 #include "chrome/browser/search_engines/template_url.h" | 43 #include "chrome/browser/search_engines/template_url.h" |
44 #include "chrome/browser/search_engines/template_url_model.h" | 44 #include "chrome/browser/search_engines/template_url_model.h" |
45 #include "chrome/browser/sessions/session_restore.h" | 45 #include "chrome/browser/sessions/session_restore.h" |
46 #include "chrome/browser/sessions/session_service.h" | 46 #include "chrome/browser/sessions/session_service.h" |
47 #include "chrome/browser/shell_integration.h" | 47 #include "chrome/browser/shell_integration.h" |
48 #include "chrome/browser/tab_contents/infobar_delegate.h" | 48 #include "chrome/browser/tab_contents/infobar_delegate.h" |
49 #include "chrome/browser/tab_contents/navigation_controller.h" | 49 #include "chrome/browser/tab_contents/navigation_controller.h" |
50 #include "chrome/browser/tab_contents/tab_contents.h" | 50 #include "chrome/browser/tab_contents/tab_contents.h" |
51 #include "chrome/browser/tab_contents/tab_contents_view.h" | 51 #include "chrome/browser/tab_contents/tab_contents_view.h" |
52 #include "chrome/browser/tab_contents_wrapper.h" | |
53 #include "chrome/browser/tabs/pinned_tab_codec.h" | 52 #include "chrome/browser/tabs/pinned_tab_codec.h" |
54 #include "chrome/browser/tabs/tab_strip_model.h" | 53 #include "chrome/browser/tabs/tab_strip_model.h" |
55 #include "chrome/browser/ui/browser_navigator.h" | 54 #include "chrome/browser/ui/browser_navigator.h" |
| 55 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
56 #include "chrome/common/chrome_constants.h" | 56 #include "chrome/common/chrome_constants.h" |
57 #include "chrome/common/chrome_paths.h" | 57 #include "chrome/common/chrome_paths.h" |
58 #include "chrome/common/chrome_switches.h" | 58 #include "chrome/common/chrome_switches.h" |
59 #include "chrome/common/pref_names.h" | 59 #include "chrome/common/pref_names.h" |
60 #include "chrome/common/result_codes.h" | 60 #include "chrome/common/result_codes.h" |
61 #include "chrome/common/url_constants.h" | 61 #include "chrome/common/url_constants.h" |
62 #include "chrome/installer/util/browser_distribution.h" | 62 #include "chrome/installer/util/browser_distribution.h" |
63 #include "grit/chromium_strings.h" | 63 #include "grit/chromium_strings.h" |
64 #include "grit/generated_resources.h" | 64 #include "grit/generated_resources.h" |
65 #include "grit/locale_settings.h" | 65 #include "grit/locale_settings.h" |
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1089 return false; | 1089 return false; |
1090 automation->SetExpectedTabCount(expected_tabs); | 1090 automation->SetExpectedTabCount(expected_tabs); |
1091 | 1091 |
1092 AutomationProviderList* list = | 1092 AutomationProviderList* list = |
1093 g_browser_process->InitAutomationProviderList(); | 1093 g_browser_process->InitAutomationProviderList(); |
1094 DCHECK(list); | 1094 DCHECK(list); |
1095 list->AddProvider(automation); | 1095 list->AddProvider(automation); |
1096 | 1096 |
1097 return true; | 1097 return true; |
1098 } | 1098 } |
OLD | NEW |