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

Unified Diff: ui/views/window/dialog_delegate.h

Issue 1717453003: Introduce BubbleDialogDelegateView, which extends DialogDelegateView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: msw review 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: ui/views/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 68b1f202e2f95118126092ee4f0ff935faec4f47..f40a95dd85bf7832fb141fc6be3dcf01d4ceaf35 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -63,7 +63,7 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
// Override this function to display a footnote view below the buttons.
// Overrides may construct the view; this will only be called once per dialog.
- virtual View* CreateFootnoteView();
+ virtual scoped_ptr<View> CreateFootnoteView();
sky 2016/02/23 17:56:16 The return value of this is fed into BubbleFrameVi
Evan Stade 2016/02/23 19:02:36 ok, changed to bare pointer.
// For Dialog boxes, if there is a "Cancel" button or no dialog button at all,
// this is called when the user presses the "Cancel" button or the Esc key.

Powered by Google App Engine
This is Rietveld 408576698