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

Unified Diff: chrome/browser/ui/login/login_prompt.h

Issue 11647017: Rename platform-independent ConstrainedWindow types to WebContentsModalDialog types (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/login/login_prompt.h
diff --git a/chrome/browser/ui/login/login_prompt.h b/chrome/browser/ui/login/login_prompt.h
index ad755a0b5d8debaae11876454354959a50f86724..21978111210d5d8bdc82ed89c27fe171cf82d68a 100644
--- a/chrome/browser/ui/login/login_prompt.h
+++ b/chrome/browser/ui/login/login_prompt.h
@@ -13,7 +13,7 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/resource_dispatcher_host_login_delegate.h"
-class ConstrainedWindow;
+class WebContentsModalDialog;
class GURL;
namespace content {
@@ -83,7 +83,7 @@ class LoginHandler : public content::ResourceDispatcherHostLoginDelegate,
void SetModel(LoginModel* model);
- void SetDialog(ConstrainedWindow* dialog);
+ void SetDialog(WebContentsModalDialog* dialog);
// Notify observers that authentication is needed.
void NotifyAuthNeeded();
@@ -123,9 +123,9 @@ class LoginHandler : public content::ResourceDispatcherHostLoginDelegate,
bool handled_auth_;
mutable base::Lock handled_auth_lock_;
- // The ConstrainedWindow that is hosting our LoginView.
+ // The WebContentsModalDialog that is hosting our LoginView.
// This should only be accessed on the UI loop.
- ConstrainedWindow* dialog_;
+ WebContentsModalDialog* dialog_;
// Who/where/what asked for the authentication.
scoped_refptr<net::AuthChallengeInfo> auth_info_;

Powered by Google App Engine
This is Rietveld 408576698