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

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

Issue 319013002: Reland Fix Views web-modal dialog widget creation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert MediaGalleriesScanResultDialogViews::AcceptDialogForTesting. Created 6 years, 6 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
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/window/dialog_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/window/dialog_delegate.h
diff --git a/ui/views/window/dialog_delegate.h b/ui/views/window/dialog_delegate.h
index 2ef798306bd63edcd71a3a8078d894f47686f4b0..692b7874b19d68a17537bd2fdcfe08d51c2980c9 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -31,8 +31,8 @@ class VIEWS_EXPORT DialogDelegate : public ui::DialogModel,
public:
virtual ~DialogDelegate();
- // Create a |dialog| window Widget with the specified |context| or |parent|.
- static Widget* CreateDialogWidget(DialogDelegate* dialog,
+ // Create a dialog widget with the specified |context| or |parent|.
+ static Widget* CreateDialogWidget(WidgetDelegate* delegate,
gfx::NativeView context,
gfx::NativeView parent);
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/window/dialog_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698