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

Unified Diff: chrome/browser/ui/login/login_prompt.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
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/login/login_prompt.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/ui/intents/web_intent_picker_controller.cc ('k') | chrome/browser/ui/login/login_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698