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

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

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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 238220)
+++ chrome/browser/accessibility/accessibility_extension_api.cc (working copy)
@@ -14,7 +14,7 @@
#include "chrome/browser/extensions/extension_system.h"
#include "chrome/browser/extensions/extension_tab_util.h"
#include "chrome/browser/infobars/confirm_infobar_delegate.h"
-#include "chrome/browser/infobars/infobar_delegate.h"
+#include "chrome/browser/infobars/infobar.h"
#include "chrome/browser/infobars/infobar_service.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/extensions/api/experimental_accessibility.h"
@@ -278,7 +278,7 @@
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->infobar_at(i)->AsConfirmInfoBarDelegate();
+ infobar_service->infobar_at(i)->delegate()->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