| 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 "chrome/browser/ui/browser_tab_contents.h" | 5 #include "chrome/browser/ui/browser_tab_contents.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/api/infobars/infobar_service.h" | 8 #include "chrome/browser/api/infobars/infobar_service.h" |
| 9 #include "chrome/browser/autofill/autofill_external_delegate.h" | |
| 10 #include "chrome/browser/autofill/autofill_manager.h" | |
| 11 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 9 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
| 12 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" | 10 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" |
| 13 #include "chrome/browser/extensions/tab_helper.h" | 11 #include "chrome/browser/extensions/tab_helper.h" |
| 14 #include "chrome/browser/external_protocol/external_protocol_observer.h" | 12 #include "chrome/browser/external_protocol/external_protocol_observer.h" |
| 15 #include "chrome/browser/favicon/favicon_tab_helper.h" | 13 #include "chrome/browser/favicon/favicon_tab_helper.h" |
| 16 #include "chrome/browser/history/history_tab_helper.h" | 14 #include "chrome/browser/history/history_tab_helper.h" |
| 17 #include "chrome/browser/managed_mode/managed_mode_navigation_observer.h" | 15 #include "chrome/browser/managed_mode/managed_mode_navigation_observer.h" |
| 18 #include "chrome/browser/net/load_time_stats.h" | 16 #include "chrome/browser/net/load_time_stats.h" |
| 19 #include "chrome/browser/net/net_error_tab_helper.h" | 17 #include "chrome/browser/net/net_error_tab_helper.h" |
| 20 #include "chrome/browser/omnibox_search_hint.h" | 18 #include "chrome/browser/omnibox_search_hint.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 40 #include "chrome/browser/ui/sad_tab_helper.h" | 38 #include "chrome/browser/ui/sad_tab_helper.h" |
| 41 #include "chrome/browser/ui/search/search_tab_helper.h" | 39 #include "chrome/browser/ui/search/search_tab_helper.h" |
| 42 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" | 40 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" |
| 43 #include "chrome/browser/ui/snapshot_tab_helper.h" | 41 #include "chrome/browser/ui/snapshot_tab_helper.h" |
| 44 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" | 42 #include "chrome/browser/ui/sync/tab_contents_synced_tab_delegate.h" |
| 45 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" | 43 #include "chrome/browser/ui/tab_contents/core_tab_helper.h" |
| 46 #include "chrome/browser/ui/web_contents_modal_dialog_manager.h" | 44 #include "chrome/browser/ui/web_contents_modal_dialog_manager.h" |
| 47 #include "chrome/browser/ui/zoom/zoom_controller.h" | 45 #include "chrome/browser/ui/zoom/zoom_controller.h" |
| 48 #include "chrome/browser/view_type_utils.h" | 46 #include "chrome/browser/view_type_utils.h" |
| 49 #include "chrome/common/chrome_switches.h" | 47 #include "chrome/common/chrome_switches.h" |
| 48 #include "components/autofill/browser/autofill_external_delegate.h" |
| 49 #include "components/autofill/browser/autofill_manager.h" |
| 50 #include "content/public/browser/web_contents.h" | 50 #include "content/public/browser/web_contents.h" |
| 51 | 51 |
| 52 #if defined(ENABLE_AUTOMATION) | 52 #if defined(ENABLE_AUTOMATION) |
| 53 #include "chrome/browser/automation/automation_tab_helper.h" | 53 #include "chrome/browser/automation/automation_tab_helper.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 56 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 57 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" | 57 #include "chrome/browser/captive_portal/captive_portal_tab_helper.h" |
| 58 #endif | 58 #endif |
| 59 | 59 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 if (OneClickSigninHelper::CanOffer( | 175 if (OneClickSigninHelper::CanOffer( |
| 176 web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) { | 176 web_contents, OneClickSigninHelper::CAN_OFFER_FOR_ALL, "", NULL)) { |
| 177 OneClickSigninHelper::CreateForWebContents(web_contents); | 177 OneClickSigninHelper::CreateForWebContents(web_contents); |
| 178 } | 178 } |
| 179 #endif | 179 #endif |
| 180 | 180 |
| 181 #if defined(OS_WIN) | 181 #if defined(OS_WIN) |
| 182 MetroPinTabHelper::CreateForWebContents(web_contents); | 182 MetroPinTabHelper::CreateForWebContents(web_contents); |
| 183 #endif | 183 #endif |
| 184 } | 184 } |
| OLD | NEW |