OLD | NEW |
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" |
| 10 #include "build/build_config.h" |
9 #include "components/infobars/core/confirm_infobar_delegate.h" | 11 #include "components/infobars/core/confirm_infobar_delegate.h" |
10 #include "url/gurl.h" | 12 #include "url/gurl.h" |
11 | 13 |
12 #if defined(ENABLE_PLUGIN_INSTALLATION) | 14 #if defined(ENABLE_PLUGIN_INSTALLATION) |
13 #include "chrome/browser/plugins/plugin_installer_observer.h" | 15 #include "chrome/browser/plugins/plugin_installer_observer.h" |
14 #endif | 16 #endif |
15 | 17 |
16 class InfoBarService; | 18 class InfoBarService; |
17 class HostContentSettingsMap; | 19 class HostContentSettingsMap; |
18 class PluginMetadata; | 20 class PluginMetadata; |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 GURL GetLinkURL() const override; | 111 GURL GetLinkURL() const override; |
110 | 112 |
111 const Mode mode_; | 113 const Mode mode_; |
112 const base::string16 name_; | 114 const base::string16 name_; |
113 | 115 |
114 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); | 116 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); |
115 }; | 117 }; |
116 #endif // defined(OS_WIN) | 118 #endif // defined(OS_WIN) |
117 | 119 |
118 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ | 120 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ |
OLD | NEW |