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

Unified Diff: ui/views/window/dialog_delegate.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
« ui/views/window/dialog_client_view.cc ('K') | « ui/views/window/dialog_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_delegate.cc
diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
index e6b179e538ae26e2f385864063a042d7d8560324..cb664d255967aeceb0e91e575adbef821592cdfb 100644
--- a/ui/views/window/dialog_delegate.cc
+++ b/ui/views/window/dialog_delegate.cc
@@ -98,7 +98,7 @@ View* DialogDelegate::CreateTitlebarExtraView() {
return NULL;
}
-View* DialogDelegate::CreateFootnoteView() {
+scoped_ptr<View> DialogDelegate::CreateFootnoteView() {
return NULL;
}
@@ -209,6 +209,7 @@ NonClientFrameView* DialogDelegate::CreateDialogFrameView(Widget* widget) {
if (delegate) {
frame->SetTitlebarExtraView(
make_scoped_ptr(delegate->CreateTitlebarExtraView()));
+ frame->SetFootnoteView(delegate->CreateFootnoteView());
}
return frame;
}
« ui/views/window/dialog_client_view.cc ('K') | « ui/views/window/dialog_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698