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 "chrome/browser/infobars/confirm_infobar_delegate.h" | 9 #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 Mode mode, | 214 Mode mode, |
215 const string16& name); | 215 const string16& name); |
216 virtual ~PluginMetroModeInfoBarDelegate(); | 216 virtual ~PluginMetroModeInfoBarDelegate(); |
217 | 217 |
218 // ConfirmInfoBarDelegate: | 218 // ConfirmInfoBarDelegate: |
219 virtual int GetIconID() const OVERRIDE; | 219 virtual int GetIconID() const OVERRIDE; |
220 virtual string16 GetMessageText() const OVERRIDE; | 220 virtual string16 GetMessageText() const OVERRIDE; |
221 virtual int GetButtons() const OVERRIDE; | 221 virtual int GetButtons() const OVERRIDE; |
222 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; | 222 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE; |
223 virtual bool Accept() OVERRIDE; | 223 virtual bool Accept() OVERRIDE; |
224 virtual bool Cancel() OVERRIDE; | |
225 virtual string16 GetLinkText() const OVERRIDE; | 224 virtual string16 GetLinkText() const OVERRIDE; |
226 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; | 225 virtual bool LinkClicked(WindowOpenDisposition disposition) OVERRIDE; |
227 | 226 |
228 const Mode mode_; | 227 const Mode mode_; |
229 const string16 name_; | 228 const string16 name_; |
230 | 229 |
231 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); | 230 DISALLOW_COPY_AND_ASSIGN(PluginMetroModeInfoBarDelegate); |
232 }; | 231 }; |
233 #endif // defined(OS_WIN) | 232 #endif // defined(OS_WIN) |
234 | 233 |
235 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ | 234 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_INFOBAR_DELEGATES_H_ |
OLD | NEW |