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_PLUGIN_INFOBAR_DELEGATES_H_ | 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ |
6 #define CHROME_BROWSER_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 "chrome/browser/api/infobars/confirm_infobar_delegate.h" | 9 #include "chrome/browser/api/infobars/confirm_infobar_delegate.h" |
10 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
11 | 11 |
12 #if defined(ENABLE_PLUGIN_INSTALLATION) | 12 #if defined(ENABLE_PLUGIN_INSTALLATION) |
13 #include "chrome/browser/plugin_installer_observer.h" | 13 #include "chrome/browser/plugins/plugin_installer_observer.h" |
14 #endif // defined(ENABLE_PLUGIN_INSTALLATION) | 14 #endif // defined(ENABLE_PLUGIN_INSTALLATION) |
15 | 15 |
16 class InfoBarService; | 16 class InfoBarService; |
17 class HostContentSettingsMap; | 17 class HostContentSettingsMap; |
18 class PluginObserver; | 18 class PluginObserver; |
19 | 19 |
20 // Base class for blocked plug-in infobars. | 20 // Base class for blocked plug-in infobars. |
21 class PluginInfoBarDelegate : public ConfirmInfoBarDelegate { | 21 class PluginInfoBarDelegate : public ConfirmInfoBarDelegate { |
22 public: | 22 public: |
23 PluginInfoBarDelegate(InfoBarService* infobar_service, | 23 PluginInfoBarDelegate(InfoBarService* infobar_service, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 virtual bool Accept() OVERRIDE; | 192 virtual bool Accept() OVERRIDE; |
193 virtual string16 GetLinkText() const OVERRIDE; | 193 virtual string16 GetLinkText() const OVERRIDE; |
194 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; | 194 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; |
195 | 195 |
196 string16 message_; | 196 string16 message_; |
197 | 197 |
198 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); | 198 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); |
199 }; | 199 }; |
200 #endif // defined(OS_WIN) | 200 #endif // defined(OS_WIN) |
201 | 201 |
202 #endif // CHROME_BROWSER_PLUGIN_INFOBAR_DELEGATES_H_ | 202 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ |
OLD | NEW |