diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-07 01:57:45 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-07 01:57:45 +0000 |
commit | 967c7ad4dfdba2e07f2caafdfc86d556647c97b2 (patch) | |
tree | ee9caec63b6758797396fab48e5932e67ac1a6a4 /chrome/browser/automation | |
parent | f8d31b7f8cc69e59776f91146a81adeae6e34214 (diff) | |
download | chromium_src-967c7ad4dfdba2e07f2caafdfc86d556647c97b2.zip chromium_src-967c7ad4dfdba2e07f2caafdfc86d556647c97b2.tar.gz chromium_src-967c7ad4dfdba2e07f2caafdfc86d556647c97b2.tar.bz2 |
Eliminate the LinkInfoBar[Delegate] classes entirely.
And switch to the existing AlternateNavInfoBar[Delegate] classes.
BUG=164772
R=pkasting@chromium.org
TBR=ben@chromium.org
NOTRY=True # ios_dbg_simulator seems to be broken in lkgm?
Review URL: https://codereview.chromium.org/11721003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r-- | chrome/browser/automation/testing_automation_provider.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc index 23c67e3..a646045 100644 --- a/chrome/browser/automation/testing_automation_provider.cc +++ b/chrome/browser/automation/testing_automation_provider.cc @@ -27,7 +27,6 @@ #include "chrome/app/chrome_command_ids.h" #include "chrome/browser/api/infobars/confirm_infobar_delegate.h" #include "chrome/browser/api/infobars/infobar_service.h" -#include "chrome/browser/api/infobars/link_infobar_delegate.h" #include "chrome/browser/autocomplete/autocomplete_controller.h" #include "chrome/browser/autocomplete/autocomplete_match.h" #include "chrome/browser/autocomplete/autocomplete_result.h" @@ -2163,10 +2162,6 @@ ListValue* TestingAutomationProvider::GetInfobarsInfo(WebContents* wc) { buttons_list->Append(button_label); } infobar_item->Set("buttons", buttons_list); - } else if (infobar->AsLinkInfoBarDelegate()) { - infobar_item->SetString("type", "link_infobar"); - LinkInfoBarDelegate* link_infobar = infobar->AsLinkInfoBarDelegate(); - infobar_item->SetString("link_text", link_infobar->GetLinkText()); } else if (infobar->AsExtensionInfoBarDelegate()) { infobar_item->SetString("type", "extension_infobar"); } else { |