Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: chrome/browser/plugins/plugin_infobar_delegates.h

Issue 1584573004: Remove Metro pinning, and relaunch menu items and strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698