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

Unified Diff: chrome/browser/accessibility/accessibility_extension_api.cc

Issue 14241006: Eliminate InfoBarTabHelper. Make InfoBarService a concrete class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/accessibility/accessibility_extension_api.cc
===================================================================
--- chrome/browser/accessibility/accessibility_extension_api.cc (revision 195254)
+++ chrome/browser/accessibility/accessibility_extension_api.cc (working copy)
@@ -213,10 +213,10 @@
ListValue* alerts_value = new ListValue;
InfoBarService* infobar_service = InfoBarService::FromWebContents(contents);
- for (size_t i = 0; i < infobar_service->GetInfoBarCount(); ++i) {
+ for (size_t i = 0; i < infobar_service->infobar_count(); ++i) {
// TODO(hashimoto): Make other kind of alerts available. crosbug.com/24281
ConfirmInfoBarDelegate* confirm_infobar_delegate =
- infobar_service->GetInfoBarDelegateAt(i)->AsConfirmInfoBarDelegate();
+ infobar_service->infobar_at(i)->AsConfirmInfoBarDelegate();
if (confirm_infobar_delegate) {
DictionaryValue* alert_value = new DictionaryValue;
const string16 message_text = confirm_infobar_delegate->GetMessageText();
« no previous file with comments | « no previous file | chrome/browser/autofill/autofill_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698