Index: chrome/browser/plugins/plugin_infobar_delegates.h |
diff --git a/chrome/browser/plugins/plugin_infobar_delegates.h b/chrome/browser/plugins/plugin_infobar_delegates.h |
index 2b8846102f541542f8006880da11300f353c1d1f..a5cedd84437199c3300ecb0ea49e49cb6ee7ece1 100644 |
--- a/chrome/browser/plugins/plugin_infobar_delegates.h |
+++ b/chrome/browser/plugins/plugin_infobar_delegates.h |
@@ -81,42 +81,4 @@ class OutdatedPluginInfoBarDelegate : public ConfirmInfoBarDelegate, |
}; |
#endif // defined(ENABLE_PLUGIN_INSTALLATION) |
-#if defined(OS_WIN) |
-class PluginMetroModeInfoBarDelegate : public ConfirmInfoBarDelegate { |
- public: |
- // The infobar can be used for two purposes: to inform the user about a |
- // missing plugin or to note that a plugin only works in desktop mode. These |
- // purposes require different messages, buttons, etc. |
- enum Mode { |
- MISSING_PLUGIN, |
- DESKTOP_MODE_REQUIRED, |
- }; |
- |
- // Creates a metro mode infobar and delegate and adds the infobar to |
- // |infobar_service|. |
- static void Create(InfoBarService* infobar_service, |
- Mode mode, |
- const base::string16& name); |
- |
- private: |
- PluginMetroModeInfoBarDelegate(Mode mode, const base::string16& name); |
- ~PluginMetroModeInfoBarDelegate() override; |
- |
- // ConfirmInfoBarDelegate: |
- infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; |
- int GetIconId() const override; |
- base::string16 GetMessageText() const override; |
- int GetButtons() const override; |
- base::string16 GetButtonLabel(InfoBarButton button) const override; |
- bool Accept() override; |
- base::string16 GetLinkText() const override; |
- GURL GetLinkURL() const override; |
- |
- const Mode mode_; |
- const base::string16 name_; |
- |
- DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); |
-}; |
-#endif // defined(OS_WIN) |
- |
#endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ |