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

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

Issue 869453002: Define class names for views class in c/b/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 10 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/views/login_view.h" 5 #include "chrome/browser/ui/views/login_view.h"
6 6
7 #include "chrome/grit/generated_resources.h" 7 #include "chrome/grit/generated_resources.h"
8 #include "ui/base/l10n/l10n_util.h" 8 #include "ui/base/l10n/l10n_util.h"
9 #include "ui/views/controls/label.h" 9 #include "ui/views/controls/label.h"
10 #include "ui/views/controls/textfield/textfield.h" 10 #include "ui/views/controls/textfield/textfield.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 username_field_->SetText(username); 105 username_field_->SetText(username);
106 password_field_->SetText(password); 106 password_field_->SetText(password);
107 username_field_->SelectAll(true); 107 username_field_->SelectAll(true);
108 } 108 }
109 } 109 }
110 110
111 void LoginView::OnLoginModelDestroying() { 111 void LoginView::OnLoginModelDestroying() {
112 login_model_->RemoveObserver(this); 112 login_model_->RemoveObserver(this);
113 login_model_ = NULL; 113 login_model_ = NULL;
114 } 114 }
115
116 const char* LoginView::GetClassName() const {
117 return "LoginView";
118 }
119
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/login_view.h ('k') | chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698