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

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

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments Created 8 years, 4 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 | Annotate | Revision Log
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_PLUGIN_INFOBAR_DELEGATES_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_INFOBAR_DELEGATES_H_
6 #define CHROME_BROWSER_PLUGIN_INFOBAR_DELEGATES_H_ 6 #define CHROME_BROWSER_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/plugin_installer_observer.h"
14 #endif // defined(ENABLE_PLUGIN_INSTALLATION) 14 #endif // defined(ENABLE_PLUGIN_INSTALLATION)
15 15
16 class InfoBarTabHelper;
16 class HostContentSettingsMap; 17 class HostContentSettingsMap;
17 class PluginObserver; 18 class PluginObserver;
18 19
19 // Base class for blocked plug-in infobars. 20 // Base class for blocked plug-in infobars.
20 class PluginInfoBarDelegate : public ConfirmInfoBarDelegate { 21 class PluginInfoBarDelegate : public ConfirmInfoBarDelegate {
21 public: 22 public:
22 PluginInfoBarDelegate(InfoBarTabHelper* infobar_helper, 23 PluginInfoBarDelegate(InfoBarTabHelper* infobar_helper,
23 const string16& name, 24 const string16& name,
24 const std::string& identifier); 25 const std::string& identifier);
25 26
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 virtual string16 GetLinkText() const OVERRIDE; 193 virtual string16 GetLinkText() const OVERRIDE;
193 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; 194 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE;
194 195
195 string16 message_; 196 string16 message_;
196 197
197 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); 198 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate);
198 }; 199 };
199 #endif // defined(OS_WIN) 200 #endif // defined(OS_WIN)
200 201
201 #endif // CHROME_BROWSER_PLUGIN_INFOBAR_DELEGATES_H_ 202 #endif // CHROME_BROWSER_PLUGIN_INFOBAR_DELEGATES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698