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

Unified Diff: chrome/browser/ui/cocoa/confirm_bubble_controller.mm

Issue 1242383005: Remove unused code in ConfirmBubbleModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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/cocoa/confirm_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/confirm_bubble_controller.mm b/chrome/browser/ui/cocoa/confirm_bubble_controller.mm
index 95c4a73986d2caf33a6d43a2b7c661386786e9fd..db62ce0395effb437f401f6e3db8017772c67e4a 100644
--- a/chrome/browser/ui/cocoa/confirm_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/confirm_bubble_controller.mm
@@ -69,11 +69,6 @@
return (model_->GetButtons() & ConfirmBubbleModel::BUTTON_CANCEL) ? YES : NO;
}
-- (NSImage*)icon {
- gfx::Image* image = model_->GetIcon();
- return !image ? nil : image->ToNSImage();
-}
-
// Action handlers.
- (void)accept {
model_->Accept();
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_controller.h ('k') | chrome/browser/ui/cocoa/confirm_bubble_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698