Index: chrome/browser/ui/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc |
index b630b9280404db8f4398162a93ee84c01923d146..c415dab2ee06e4d6b0d75d7209382b23c09024f2 100644 |
--- a/chrome/browser/ui/tab_contents/tab_contents.cc |
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc |
@@ -39,7 +39,6 @@ |
#include "chrome/browser/ui/find_bar/find_tab_helper.h" |
#include "chrome/browser/ui/hung_plugin_tab_helper.h" |
#include "chrome/browser/ui/intents/web_intent_picker_controller.h" |
-#include "chrome/browser/ui/metro_pin_tab_helper.h" |
#include "chrome/browser/ui/pdf/pdf_tab_helper.h" |
#include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
#include "chrome/browser/ui/sad_tab_helper.h" |
@@ -60,6 +59,10 @@ |
#include "chrome/browser/captive_portal/captive_portal_tab_helper.h" |
#endif |
+#if defined(OS_WIN) |
+#include "chrome/browser/ui/metro_pin_tab_helper_win.h" |
+#endif |
+ |
using content::WebContents; |
namespace { |
@@ -135,7 +138,6 @@ TabContents::TabContents(WebContents* contents) |
HistoryTabHelper::CreateForWebContents(contents); |
HungPluginTabHelper::CreateForWebContents(contents); |
InfoBarTabHelper::CreateForWebContents(contents); |
- MetroPinTabHelper::CreateForWebContents(contents); |
NavigationMetricsRecorder::CreateForWebContents(contents); |
PasswordManagerDelegateImpl::CreateForWebContents(contents); |
PasswordManager::CreateForWebContentsAndDelegate( |
@@ -185,6 +187,10 @@ TabContents::TabContents(WebContents* contents) |
if (OneClickSigninHelper::CanOffer(contents, "", false)) |
OneClickSigninHelper::CreateForWebContents(contents); |
#endif |
+ |
+#if defined(OS_WIN) |
+ MetroPinTabHelper::CreateForWebContents(contents); |
+#endif |
} |
TabContents::~TabContents() { |