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

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

Issue 6574011: Cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/translate_message_infobar.h ('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_message_infobar.cc
===================================================================
--- chrome/browser/ui/views/infobars/translate_message_infobar.cc (revision 75777)
+++ chrome/browser/ui/views/infobars/translate_message_infobar.cc (working copy)
@@ -5,7 +5,7 @@
#include "chrome/browser/ui/views/infobars/translate_message_infobar.h"
#include "chrome/browser/translate/translate_infobar_delegate.h"
-#include "chrome/browser/ui/views/infobars/infobar_text_button.h"
+#include "views/controls/button/text_button.h"
#include "views/controls/image_view.h"
#include "views/controls/label.h"
@@ -18,7 +18,7 @@
string16 button_text = delegate->GetMessageInfoBarButtonText();
if (!button_text.empty()) {
- button_ = InfoBarTextButton::Create(this, button_text);
+ button_ = CreateTextButton(this, button_text, false);
AddChildView(button_);
}
}
« no previous file with comments | « chrome/browser/ui/views/infobars/translate_message_infobar.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698