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

Side by Side Diff: chrome/browser/ui/login/login_prompt_mac.mm

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/login_prompt.h" 5 #include "chrome/browser/ui/login/login_prompt.h"
6 #import "chrome/browser/login_prompt_mac.h" 6 #import "chrome/browser/ui/login/login_prompt_mac.h"
7 7
8 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
9 #include "base/mac_util.h" 9 #include "base/mac_util.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "base/sys_string_conversions.h" 11 #include "base/sys_string_conversions.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/browser_thread.h" 13 #include "chrome/browser/browser_thread.h"
14 #include "chrome/browser/login_model.h"
15 #include "chrome/browser/password_manager/password_manager.h" 14 #include "chrome/browser/password_manager/password_manager.h"
16 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" 15 #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
17 #include "chrome/browser/tab_contents/navigation_controller.h" 16 #include "chrome/browser/tab_contents/navigation_controller.h"
18 #include "chrome/browser/tab_contents/tab_contents.h" 17 #include "chrome/browser/tab_contents/tab_contents.h"
19 #include "chrome/browser/tab_contents/tab_util.h" 18 #include "chrome/browser/tab_contents/tab_util.h"
20 #include "chrome/browser/ui/cocoa/constrained_window_mac.h" 19 #include "chrome/browser/ui/cocoa/constrained_window_mac.h"
20 #include "chrome/browser/ui/login/login_model.h"
21 #include "chrome/common/notification_service.h" 21 #include "chrome/common/notification_service.h"
22 #include "grit/generated_resources.h" 22 #include "grit/generated_resources.h"
23 #include "net/url_request/url_request.h" 23 #include "net/url_request/url_request.h"
24 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 24 #include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
25 25
26 using webkit_glue::PasswordForm; 26 using webkit_glue::PasswordForm;
27 27
28 // ---------------------------------------------------------------------------- 28 // ----------------------------------------------------------------------------
29 // LoginHandlerMac 29 // LoginHandlerMac
30 30
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 sizeToFitFixedWidthTextField:explanationField_]; 182 sizeToFitFixedWidthTextField:explanationField_];
183 183
184 // Resize the window (no shifting needed due to window layout). 184 // Resize the window (no shifting needed due to window layout).
185 NSSize windowDelta = NSMakeSize(0, explanationShift); 185 NSSize windowDelta = NSMakeSize(0, explanationShift);
186 [GTMUILocalizerAndLayoutTweaker 186 [GTMUILocalizerAndLayoutTweaker
187 resizeWindowWithoutAutoResizingSubViews:[self window] 187 resizeWindowWithoutAutoResizingSubViews:[self window]
188 delta:windowDelta]; 188 delta:windowDelta];
189 } 189 }
190 190
191 @end 191 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/login/login_prompt_mac.h ('k') | chrome/browser/ui/login/login_prompt_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698