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

Unified Diff: chrome/browser/ui/views/infobars/translate_infobar_base.cc

Issue 14175017: Remove one-click signin inforbar, since its now replaced with the gaia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 | « chrome/browser/ui/views/infobars/one_click_signin_infobar.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/translate_infobar_base.cc
diff --git a/chrome/browser/ui/views/infobars/translate_infobar_base.cc b/chrome/browser/ui/views/infobars/translate_infobar_base.cc
index f221bd23f359d678a1fd550e79bc0e6eadc4d89f..a6a9f8d1686a662ec44c475f153d1ba239b4321e 100644
--- a/chrome/browser/ui/views/infobars/translate_infobar_base.cc
+++ b/chrome/browser/ui/views/infobars/translate_infobar_base.cc
@@ -5,7 +5,6 @@
#include "chrome/browser/ui/views/infobars/translate_infobar_base.h"
#include "base/utf_string_conversions.h"
-#include "chrome/browser/infobars/infobar.h"
#include "chrome/browser/translate/translate_infobar_delegate.h"
#include "chrome/browser/ui/views/infobars/after_translate_infobar.h"
#include "chrome/browser/ui/views/infobars/before_translate_infobar.h"
@@ -35,8 +34,7 @@ const int TranslateInfoBarBase::kButtonInLabelSpacing = 5;
TranslateInfoBarBase::TranslateInfoBarBase(InfoBarService* owner,
TranslateInfoBarDelegate* delegate)
: InfoBarView(owner, delegate),
- error_background_(GetInfoBarTopColor(InfoBarDelegate::WARNING_TYPE),
- GetInfoBarBottomColor(InfoBarDelegate::WARNING_TYPE)) {
+ error_background_(InfoBarDelegate::WARNING_TYPE) {
}
TranslateInfoBarBase::~TranslateInfoBarBase() {
« no previous file with comments | « chrome/browser/ui/views/infobars/one_click_signin_infobar.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698