OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PASSWORDS_PASSWORD_UI_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_ |
6 #define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_ | 6 #define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 // |show_passwords| true if the passwords should be shown in the UI. | 46 // |show_passwords| true if the passwords should be shown in the UI. |
47 virtual void SetPasswordList( | 47 virtual void SetPasswordList( |
48 const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list, | 48 const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list, |
49 bool show_passwords) = 0; | 49 bool show_passwords) = 0; |
50 | 50 |
51 // Updates the list of password exceptions in the UI. | 51 // Updates the list of password exceptions in the UI. |
52 // |password_exception_list| The list of saved password exceptions. | 52 // |password_exception_list| The list of saved password exceptions. |
53 virtual void SetPasswordExceptionList( | 53 virtual void SetPasswordExceptionList( |
54 const std::vector<scoped_ptr<autofill::PasswordForm>>& | 54 const std::vector<scoped_ptr<autofill::PasswordForm>>& |
55 password_exception_list) = 0; | 55 password_exception_list) = 0; |
56 | |
vabr (Chromium)
2016/03/10 10:53:31
To keep the CL smaller and git history cleaner, pl
xunlu
2016/03/16 07:23:58
Done.
| |
56 #if !defined(OS_ANDROID) | 57 #if !defined(OS_ANDROID) |
57 // Returns the top level NativeWindow for the view. | 58 // Returns the top level NativeWindow for the view. |
58 virtual gfx::NativeWindow GetNativeWindow() const = 0; | 59 virtual gfx::NativeWindow GetNativeWindow() const = 0; |
59 #endif | 60 #endif |
60 }; | 61 }; |
61 | 62 |
62 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_ | 63 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_UI_VIEW_H_ |
OLD | NEW |