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

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

Issue 2382563003: Remove some more desktop infobar PNGs. (Closed)
Patch Set: rebase Created 4 years, 2 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 private: 44 private:
45 OutdatedPluginInfoBarDelegate(PluginInstaller* installer, 45 OutdatedPluginInfoBarDelegate(PluginInstaller* installer,
46 std::unique_ptr<PluginMetadata> metadata, 46 std::unique_ptr<PluginMetadata> metadata,
47 const base::string16& message); 47 const base::string16& message);
48 ~OutdatedPluginInfoBarDelegate() override; 48 ~OutdatedPluginInfoBarDelegate() override;
49 49
50 // ConfirmInfoBarDelegate: 50 // ConfirmInfoBarDelegate:
51 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override; 51 infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
52 void InfoBarDismissed() override; 52 void InfoBarDismissed() override;
53 int GetIconId() const override; 53 gfx::VectorIconId GetVectoIconId() const override;
groby-ooo-7-16 2016/09/30 18:23:45 GetVectorIconId :) (missing 'r' - I wish coderevi
Evan Stade 2016/09/30 22:31:39 oops -- had fixed this but failed to reupload
54 base::string16 GetMessageText() const override; 54 base::string16 GetMessageText() const override;
55 base::string16 GetButtonLabel(InfoBarButton button) const override; 55 base::string16 GetButtonLabel(InfoBarButton button) const override;
56 bool Accept() override; 56 bool Accept() override;
57 bool Cancel() override; 57 bool Cancel() override;
58 base::string16 GetLinkText() const override; 58 base::string16 GetLinkText() const override;
59 GURL GetLinkURL() const override; 59 GURL GetLinkURL() const override;
60 60
61 // PluginInstallerObserver: 61 // PluginInstallerObserver:
62 void DownloadStarted() override; 62 void DownloadStarted() override;
63 void DownloadError(const std::string& message) override; 63 void DownloadError(const std::string& message) override;
(...skipping 11 matching lines...) Expand all
75 75
76 std::unique_ptr<PluginMetadata> plugin_metadata_; 76 std::unique_ptr<PluginMetadata> plugin_metadata_;
77 77
78 base::string16 message_; 78 base::string16 message_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(OutdatedPluginInfoBarDelegate); 80 DISALLOW_COPY_AND_ASSIGN(OutdatedPluginInfoBarDelegate);
81 }; 81 };
82 #endif // defined(ENABLE_PLUGIN_INSTALLATION) 82 #endif // defined(ENABLE_PLUGIN_INSTALLATION)
83 83
84 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ 84 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698