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

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

Issue 10911169: Setup field trial for one-click signin inforbar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 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 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.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 2ab736567437bcbdd2bcf36d5d2556821d0adfb1..70ae27614bf3fad3fb74a6db188056e6fa016e91 100644
--- a/chrome/browser/ui/views/infobars/translate_infobar_base.cc
+++ b/chrome/browser/ui/views/infobars/translate_infobar_base.cc
@@ -5,6 +5,7 @@
#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/infobars/infobar_tab_helper.h"
#include "chrome/browser/translate/translate_infobar_delegate.h"
#include "chrome/browser/ui/views/infobars/after_translate_infobar.h"
@@ -48,7 +49,8 @@ const int TranslateInfoBarBase::kButtonInLabelSpacing = 5;
TranslateInfoBarBase::TranslateInfoBarBase(InfoBarTabHelper* owner,
TranslateInfoBarDelegate* delegate)
: InfoBarView(owner, delegate),
- error_background_(InfoBarDelegate::WARNING_TYPE) {
+ error_background_(GetInfoBarTopColor(InfoBarDelegate::WARNING_TYPE),
+ GetInfoBarBottomColor(InfoBarDelegate::WARNING_TYPE)) {
}
TranslateInfoBarBase::~TranslateInfoBarBase() {
« no previous file with comments | « chrome/browser/ui/views/infobars/one_click_signin_infobar.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698