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

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

Issue 23591005: Update infobar buttons when attempting to run an NPAPI plugin in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change string to say open. Created 7 years, 3 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/plugins/plugin_infobar_delegates.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/plugins/plugin_infobar_delegates.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698