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

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

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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) 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 #ifndef CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "components/password_manager/core/browser/login_model.h" 9 #include "components/password_manager/core/browser/login_model.h"
10 #include "ui/views/view.h" 10 #include "ui/views/view.h"
(...skipping 13 matching lines...) Expand all
24 LoginView(const base::string16& explanation, 24 LoginView(const base::string16& explanation,
25 password_manager::LoginModel* model); 25 password_manager::LoginModel* model);
26 virtual ~LoginView(); 26 virtual ~LoginView();
27 27
28 // Access the data in the username/password text fields. 28 // Access the data in the username/password text fields.
29 const base::string16& GetUsername() const; 29 const base::string16& GetUsername() const;
30 const base::string16& GetPassword() const; 30 const base::string16& GetPassword() const;
31 31
32 // LoginModelObserver implementation. 32 // LoginModelObserver implementation.
33 virtual void OnAutofillDataAvailable(const base::string16& username, 33 virtual void OnAutofillDataAvailable(const base::string16& username,
34 const base::string16& password) OVERRIDE; 34 const base::string16& password) override;
35 virtual void OnLoginModelDestroying() OVERRIDE; 35 virtual void OnLoginModelDestroying() override;
36 36
37 // Used by LoginHandlerWin to set the initial focus. 37 // Used by LoginHandlerWin to set the initial focus.
38 views::View* GetInitiallyFocusedView(); 38 views::View* GetInitiallyFocusedView();
39 39
40 private: 40 private:
41 // Non-owning refs to the input text fields. 41 // Non-owning refs to the input text fields.
42 views::Textfield* username_field_; 42 views::Textfield* username_field_;
43 views::Textfield* password_field_; 43 views::Textfield* password_field_;
44 44
45 // Button labels 45 // Button labels
46 views::Label* username_label_; 46 views::Label* username_label_;
47 views::Label* password_label_; 47 views::Label* password_label_;
48 48
49 // Authentication message. 49 // Authentication message.
50 views::Label* message_label_; 50 views::Label* message_label_;
51 51
52 // If not null, points to a model we need to notify of our own destruction 52 // If not null, points to a model we need to notify of our own destruction
53 // so it doesn't try and access this when its too late. 53 // so it doesn't try and access this when its too late.
54 password_manager::LoginModel* login_model_; 54 password_manager::LoginModel* login_model_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(LoginView); 56 DISALLOW_COPY_AND_ASSIGN(LoginView);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_ 59 #endif // CHROME_BROWSER_UI_VIEWS_LOGIN_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/login_prompt_views.cc ('k') | chrome/browser/ui/views/menu_controller_interactive_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698