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

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

Issue 801043003: Change ShowConfirmBubble() to take model by scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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.h
diff --git a/chrome/browser/ui/cocoa/confirm_bubble_controller.h b/chrome/browser/ui/cocoa/confirm_bubble_controller.h
index 041dc82d7e290574be0c4492e6a03b897dc83782..bbddce070e57f03ac4ecaba12f2bf90a6f2e4e20 100644
--- a/chrome/browser/ui/cocoa/confirm_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/confirm_bubble_controller.h
@@ -26,7 +26,7 @@ class ConfirmBubbleModel;
// controller takes the ownership of the passed-in ConfirmBubbleModel.
- (id)initWithParent:(NSView*)parent
origin:(CGPoint)origin
- model:(ConfirmBubbleModel*)model;
+ model:(scoped_ptr<ConfirmBubbleModel>)model;
// Access to the properties of the ConfirmBubbleModel object. These functions
// also converts C++ types returned by the ConfirmBubbleModel object to
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_cocoa.mm ('k') | chrome/browser/ui/cocoa/confirm_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698