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

Side by Side Diff: chrome/browser/ui/views/login_prompt_views.cc

Issue 1274083002: Add flag to show toolkit-views dialogs on Mac, start with HTTP-Auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase ug - fix histograms: knew I forgot to rename something (darn flaky tryjobs..) Created 5 years, 4 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 unified diff | Download patch
OLDNEW
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/login_view.h" 9 #include "chrome/browser/ui/views/login_view.h"
10 #include "chrome/grit/generated_resources.h" 10 #include "chrome/grit/generated_resources.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ~LoginHandlerViews() override {} 131 ~LoginHandlerViews() override {}
132 132
133 // The LoginView that contains the user's login information. 133 // The LoginView that contains the user's login information.
134 LoginView* login_view_; 134 LoginView* login_view_;
135 135
136 views::Widget* dialog_; 136 views::Widget* dialog_;
137 137
138 DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews); 138 DISALLOW_COPY_AND_ASSIGN(LoginHandlerViews);
139 }; 139 };
140 140
141 // static 141 namespace chrome {
142 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, 142
143 net::URLRequest* request) { 143 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info,
144 net::URLRequest* request) {
144 return new LoginHandlerViews(auth_info, request); 145 return new LoginHandlerViews(auth_info, request);
145 } 146 }
147
148 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698