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

Unified Diff: chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc

Issue 1717453003: Introduce BubbleDialogDelegateView, which extends DialogDelegateView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/extensions/extension_installed_bubble_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
index 7b4d42ec19924c91bbfd7de938c8e6658188a5ee..9e86a81c0141750b39a8315af535117870dc91b5 100644
--- a/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_installed_bubble_view.cc
@@ -176,13 +176,13 @@ void ExtensionInstalledBubbleView::UpdateAnchorView() {
SetAnchorView(reference_view);
}
-scoped_ptr<views::View> ExtensionInstalledBubbleView::CreateFootnoteView() {
+views::View* ExtensionInstalledBubbleView::CreateFootnoteView() {
if (!(bubble_->options() & ExtensionInstalledBubble::SIGN_IN_PROMO))
return nullptr;
- return scoped_ptr<views::View>(
- new BubbleSyncPromoView(this, IDS_EXTENSION_INSTALLED_SYNC_PROMO_LINK_NEW,
- IDS_EXTENSION_INSTALLED_SYNC_PROMO_NEW));
+ return new BubbleSyncPromoView(this,
+ IDS_EXTENSION_INSTALLED_SYNC_PROMO_LINK_NEW,
+ IDS_EXTENSION_INSTALLED_SYNC_PROMO_NEW);
}
void ExtensionInstalledBubbleView::WindowClosing() {

Powered by Google App Engine
This is Rietveld 408576698