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

Unified Diff: chrome/browser/ui/confirm_bubble.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/confirm_bubble.h
diff --git a/chrome/browser/ui/confirm_bubble.h b/chrome/browser/ui/confirm_bubble.h
index 415c026f1f6538e66707d12394653fccab94179e..975f2ec034e96367fd61a20079959ee6093380d4 100644
--- a/chrome/browser/ui/confirm_bubble.h
+++ b/chrome/browser/ui/confirm_bubble.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_
#define CHROME_BROWSER_UI_CONFIRM_BUBBLE_H_
+#include "base/memory/scoped_ptr.h"
#include "ui/gfx/native_widget_types.h"
class ConfirmBubbleModel;
@@ -21,7 +22,7 @@ namespace chrome {
void ShowConfirmBubble(gfx::NativeWindow window,
gfx::NativeView anchor_view,
const gfx::Point& origin,
- ConfirmBubbleModel* model);
+ scoped_ptr<ConfirmBubbleModel> model);
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_controller_unittest.mm ('k') | chrome/browser/ui/views/confirm_bubble_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698