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

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

Issue 12026016: Implement new Task Manager and Edit Bookmark style, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update ShowTaskManager and ShowBackgroundPages OVERRIDEs and calls. Created 7 years, 11 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 67eb954b34678c3e21ddc76e2f8fd66fd51575f0..01ef5eb48c183be40fb2157dab03cc6ceb8b37a7 100644
--- a/ui/views/window/dialog_delegate.h
+++ b/ui/views/window/dialog_delegate.h
@@ -119,6 +119,11 @@ class VIEWS_EXPORT DialogDelegateView : public DialogDelegate,
DialogDelegateView();
virtual ~DialogDelegateView();
+ // Create a |dialog| window Widget with the specified |context| or |parent|.
+ static Widget* CreateDialogWidget(DialogDelegateView* dialog,
+ gfx::NativeWindow context,
+ gfx::NativeWindow parent);
+
// Overridden from DialogDelegate:
virtual Widget* GetWidget() OVERRIDE;
virtual const Widget* GetWidget() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698