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

Unified Diff: chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm

Issue 8432015: Fix compile error on XCode4 / clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
diff --git a/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm b/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
index 584c68ebed21248b27a5e2373c525ea03759e117..cef8922a99346c86f774063d5656190433dc4343 100644
--- a/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
+++ b/chrome/browser/ui/cocoa/infobars/translate_infobar_base.mm
@@ -500,7 +500,7 @@ InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
}
// Called when "Translate" button is clicked.
-- (IBAction)ok:(id)sender {
+- (void)ok:(id)sender {
if (![self isOwned])
return;
TranslateInfoBarDelegate* delegate = [self delegate];
@@ -512,7 +512,7 @@ InfoBar* TranslateInfoBarDelegate::CreateInfoBar(InfoBarTabHelper* owner) {
}
// Called when someone clicks on the "Nope" button.
-- (IBAction)cancel:(id)sender {
+- (void)cancel:(id)sender {
if (![self isOwned])
return;
TranslateInfoBarDelegate* delegate = [self delegate];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698