| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/login/login_prompt.h" | 5 #include "chrome/browser/ui/login/login_prompt.h" |
| 6 | 6 |
| 7 #include "base/strings/string16.h" | 7 #include "base/strings/string16.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "chrome/browser/ui/views/constrained_window_views.h" | |
| 10 #include "chrome/browser/ui/views/login_view.h" | 9 #include "chrome/browser/ui/views/login_view.h" |
| 11 #include "chrome/grit/generated_resources.h" | 10 #include "chrome/grit/generated_resources.h" |
| 11 #include "components/constrained_window/constrained_window_views.h" |
| 12 #include "components/password_manager/core/browser/password_manager.h" | 12 #include "components/password_manager/core/browser/password_manager.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "content/public/browser/render_view_host.h" | 14 #include "content/public/browser/render_view_host.h" |
| 15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
| 16 #include "net/url_request/url_request.h" | 16 #include "net/url_request/url_request.h" |
| 17 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
| 18 #include "ui/views/widget/widget.h" | 18 #include "ui/views/widget/widget.h" |
| 19 #include "ui/views/window/dialog_delegate.h" | 19 #include "ui/views/window/dialog_delegate.h" |
| 20 | 20 |
| 21 // ---------------------------------------------------------------------------- | 21 // ---------------------------------------------------------------------------- |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 views::Widget* dialog_; | 144 views::Widget* dialog_; |
| 145 | 145 |
| 146 DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews); | 146 DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 // static | 149 // static |
| 150 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, | 150 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, |
| 151 net::URLRequest* request) { | 151 net::URLRequest* request) { |
| 152 return new LoginHandlerViews(auth_info, request); | 152 return new LoginHandlerViews(auth_info, request); |
| 153 } | 153 } |
| OLD | NEW |