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

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

Issue 14327008: Add InitWidgets() phase for GTK infobars. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
Index: chrome/browser/ui/views/infobars/before_translate_infobar.cc
===================================================================
--- chrome/browser/ui/views/infobars/before_translate_infobar.cc (revision 194662)
+++ chrome/browser/ui/views/infobars/before_translate_infobar.cc (working copy)
@@ -164,7 +164,7 @@
void BeforeTranslateInfoBar::ButtonPressed(views::Button* sender,
const ui::Event& event) {
- if (!owned())
+ if (!owner())
return; // We're closing; don't call anything, it might access the owner.
TranslateInfoBarDelegate* delegate = GetDelegate();
if (sender == accept_button_) {
@@ -183,7 +183,7 @@
void BeforeTranslateInfoBar::OnMenuButtonClicked(views::View* source,
const gfx::Point& point) {
- if (!owned())
+ if (!owner())
return; // We're closing; don't call anything, it might access the owner.
if (source == language_menu_button_) {
RunMenuAt(language_menu_model_.get(), language_menu_button_,
« no previous file with comments | « chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc ('k') | chrome/browser/ui/views/infobars/confirm_infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698