blob: e6438995d683e41b1fdb9887a71d4bd886259b0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_VIEW_CONTROLLER_H_
#define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_VIEW_CONTROLLER_H_
#import <Cocoa/Cocoa.h>
#include "base/mac/scoped_nsobject.h"
#import "chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h"
@class PasswordsListViewController;
// Informs the user that no passwords are stored for the current site.
@interface NoPasswordsView : NSTextField
- (id)initWithWidth:(CGFloat)width;
@end
// Manages the view that allows users to manage passwords for a site.
@interface ManagePasswordsViewController : BasePasswordsContentViewController {
@private
base::scoped_nsobject<NSButton> doneButton_;
base::scoped_nsobject<NSButton> manageButton_;
base::scoped_nsobject<NoPasswordsView> noPasswordsView_;
base::scoped_nsobject<PasswordsListViewController> passwordsListController_;
}
@end
@interface ManagePasswordsViewController (Testing)
@property(readonly) NSButton* doneButton;
@property(readonly) NSButton* manageButton;
@property(readonly) NoPasswordsView* noPasswordsView;
@property(readonly) PasswordsListViewController* passwordsListController;
@end
#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_VIEW_CONTROLLER_H_
|