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

Unified Diff: chrome/browser/ui/webui/constrained_web_dialog_ui.h

Issue 11633052: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use gtk_widget_get_toplevel for GetNativeWindow Created 7 years, 12 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/webui/constrained_web_dialog_ui.h
diff --git a/chrome/browser/ui/webui/constrained_web_dialog_ui.h b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
index ea1e2ca67578fc838b52b3bcc06ef23a8ab24f6b..791e0bf4fc8e74a12940f16a2372513bd4534a44 100644
--- a/chrome/browser/ui/webui/constrained_web_dialog_ui.h
+++ b/chrome/browser/ui/webui/constrained_web_dialog_ui.h
@@ -8,7 +8,7 @@
#include "base/compiler_specific.h"
#include "content/public/browser/web_ui_controller.h"
-class ConstrainedWindow;
+class WebContentsModalDialog;
namespace content {
class BrowserContext;
@@ -35,8 +35,8 @@ class ConstrainedWebDialogDelegate {
// released WebContents.
virtual void ReleaseWebContentsOnDialogClose() = 0;
- // Returns the ConstrainedWindow.
- virtual ConstrainedWindow* GetWindow() = 0;
+ // Returns the WebContentsModalDialog.
+ virtual WebContentsModalDialog* GetWindow() = 0;
// Returns the WebContents owned by the constrained window.
virtual content::WebContents* GetWebContents() = 0;
@@ -47,9 +47,9 @@ class ConstrainedWebDialogDelegate {
// ConstrainedWebDialogUI is a facility to show HTML WebUI content
// in a tab-modal constrained dialog. It is implemented as an adapter
-// between an WebDialogUI object and a ConstrainedWindow object.
+// between an WebDialogUI object and a WebContentsModalDialog object.
//
-// Since ConstrainedWindow requires platform-specific delegate
+// Since WebContentsModalDialog requires platform-specific delegate
// implementations, this class is just a factory stub.
// TODO(thestig): Refactor the platform-independent code out of the
// platform-specific implementations.

Powered by Google App Engine
This is Rietveld 408576698