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

Side by Side Diff: chrome/browser/plugins/plugin_infobar_delegates.h

Issue 2711623003: Update infobars to use VectorIcon struct instead of VectorIconId. (Closed)
Patch Set: rebase Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 28 matching lines...) Expand all
39 39
40 private: 40 private:
41 OutdatedPluginInfoBarDelegate(PluginInstaller* installer, 41 OutdatedPluginInfoBarDelegate(PluginInstaller* installer,
42 std::unique_ptr<PluginMetadata> metadata, 42 std::unique_ptr<PluginMetadata> metadata,
43 const base::string16& message); 43 const base::string16& message);
44 ~OutdatedPluginInfoBarDelegate() override; 44 ~OutdatedPluginInfoBarDelegate() override;
45 45
46 // ConfirmInfoBarDelegate: 46 // ConfirmInfoBarDelegate:
47 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; 47 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
48 void InfoBarDismissed() override; 48 void InfoBarDismissed() override;
49 gfx::VectorIconId GetVectorIconId() const override; 49 const gfx::VectorIcon& GetVectorIcon() const override;
50 base::string16 GetMessageText() const override; 50 base::string16 GetMessageText() const override;
51 base::string16 GetButtonLabel(InfoBarButton button) const override; 51 base::string16 GetButtonLabel(InfoBarButton button) const override;
52 bool Accept() override; 52 bool Accept() override;
53 bool Cancel() override; 53 bool Cancel() override;
54 base::string16 GetLinkText() const override; 54 base::string16 GetLinkText() const override;
55 GURL GetLinkURL() const override; 55 GURL GetLinkURL() const override;
56 56
57 // PluginInstallerObserver: 57 // PluginInstallerObserver:
58 void DownloadStarted() override; 58 void DownloadStarted() override;
59 void DownloadError(const std::string& message) override; 59 void DownloadError(const std::string& message) override;
(...skipping 11 matching lines...) Expand all
71 71
72 std::unique_ptr<PluginMetadata> plugin_metadata_; 72 std::unique_ptr<PluginMetadata> plugin_metadata_;
73 73
74 base::string16 message_; 74 base::string16 message_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(OutdatedPluginInfoBarDelegate); 76 DISALLOW_COPY_AND_ASSIGN(OutdatedPluginInfoBarDelegate);
77 }; 77 };
78 #endif // BUILDFLAG(ENABLE_PLUGIN_INSTALLATION) 78 #endif // BUILDFLAG(ENABLE_PLUGIN_INSTALLATION)
79 79
80 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ 80 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_request_impl.cc ('k') | chrome/browser/plugins/plugin_infobar_delegates.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698