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

Side by Side Diff: chrome/browser/ui/login/login_prompt_gtk.cc

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/gtk_signal.h"
10 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
11 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
12 #include "chrome/browser/browser_thread.h" 11 #include "chrome/browser/browser_thread.h"
13 #include "chrome/browser/password_manager/password_manager.h" 12 #include "chrome/browser/password_manager/password_manager.h"
14 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 13 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
15 #include "chrome/browser/tab_contents/navigation_controller.h" 14 #include "chrome/browser/tab_contents/navigation_controller.h"
16 #include "chrome/browser/tab_contents/tab_contents.h" 15 #include "chrome/browser/tab_contents/tab_contents.h"
17 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 16 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
18 #include "chrome/browser/tab_contents/tab_contents_view_gtk.h" 17 #include "chrome/browser/tab_contents/tab_contents_view_gtk.h"
19 #include "chrome/browser/tab_contents/tab_util.h" 18 #include "chrome/browser/tab_contents/tab_util.h"
20 #include "chrome/browser/ui/gtk/constrained_window_gtk.h" 19 #include "chrome/browser/ui/gtk/constrained_window_gtk.h"
21 #include "chrome/browser/ui/gtk/gtk_util.h" 20 #include "chrome/browser/ui/gtk/gtk_util.h"
22 #include "chrome/browser/ui/login/login_model.h" 21 #include "chrome/browser/ui/login/login_model.h"
23 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
24 #include "net/url_request/url_request.h" 23 #include "net/url_request/url_request.h"
24 #include "ui/base/gtk/gtk_signal.h"
25 25
26 using webkit_glue::PasswordForm; 26 using webkit_glue::PasswordForm;
27 27
28 // ---------------------------------------------------------------------------- 28 // ----------------------------------------------------------------------------
29 // LoginHandlerGtk 29 // LoginHandlerGtk
30 30
31 // This class simply forwards the authentication from the LoginView (on 31 // This class simply forwards the authentication from the LoginView (on
32 // the UI thread) to the net::URLRequest (on the I/O thread). 32 // the UI thread) to the net::URLRequest (on the I/O thread).
33 // This class uses ref counting to ensure that it lives until all InvokeLaters 33 // This class uses ref counting to ensure that it lives until all InvokeLaters
34 // have been called. 34 // have been called.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 SetFocusedWidget(username_entry_); 189 SetFocusedWidget(username_entry_);
190 #endif 190 #endif
191 } 191 }
192 } 192 }
193 193
194 // static 194 // static
195 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info, 195 LoginHandler* LoginHandler::Create(net::AuthChallengeInfo* auth_info,
196 net::URLRequest* request) { 196 net::URLRequest* request) {
197 return new LoginHandlerGtk(auth_info, request); 197 return new LoginHandlerGtk(auth_info, request);
198 } 198 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/input_window_dialog_gtk.cc ('k') | chrome/browser/ui/toolbar/back_forward_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698