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

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

Issue 6204002: Carnitas: Remove chrome/browser/views, update references. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retrying upload after AppEngine error 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) 2010 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/views/login_view.h" 5 #include "chrome/browser/ui/views/login_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "views/grid_layout.h" 13 #include "views/grid_layout.h"
14 #include "views/controls/label.h" 14 #include "views/controls/label.h"
15 #include "views/controls/textfield/textfield.h" 15 #include "views/controls/textfield/textfield.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 void LoginView::FocusFirstField() { 144 void LoginView::FocusFirstField() {
145 DCHECK(focus_view_); 145 DCHECK(focus_view_);
146 if (GetFocusManager()) { 146 if (GetFocusManager()) {
147 username_field_->RequestFocus(); 147 username_field_->RequestFocus();
148 } else { 148 } else {
149 // We are invisible - delay until it is no longer the case. 149 // We are invisible - delay until it is no longer the case.
150 focus_delayed_ = true; 150 focus_delayed_ = true;
151 } 151 }
152 } 152 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698