| Index: chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.h b/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.h
|
| deleted file mode 100644
|
| index 438d00a5e75e04275859dfdfe4dfb61869108e1e..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/cocoa/passwords/manage_password_item_view_controller.h
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -// 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_PASSWORD_ITEM_VIEW_CONTROLLER_H_
|
| -#define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_CONTROLLER_H_
|
| -
|
| -#include <vector>
|
| -
|
| -#import <Cocoa/Cocoa.h>
|
| -
|
| -#import "base/mac/scoped_nsobject.h"
|
| -
|
| -namespace autofill {
|
| -struct PasswordForm;
|
| -} // namespace autofill
|
| -
|
| -class ManagePasswordsBubbleModel;
|
| -
|
| -typedef std::vector<const autofill::PasswordForm*> PasswordFormsVector;
|
| -
|
| -// Handles callbacks from ManagePasswordItemViewController.
|
| -@protocol PasswordItemDelegate<NSObject>
|
| -// Retrieves the model
|
| -@property(readonly, nonatomic) ManagePasswordsBubbleModel* model;
|
| -
|
| -@property(readonly, nonatomic) CGFloat firstColumnMaxWidth;
|
| -@property(readonly, nonatomic) CGFloat secondColumnMaxWidth;
|
| -@end
|
| -
|
| -// Shows a list of usernames/passwords.
|
| -@interface PasswordsListViewController
|
| - : NSViewController<PasswordItemDelegate> {
|
| - @private
|
| - ManagePasswordsBubbleModel* model_; // weak
|
| - // Array of ManagePasswordItemViewController for each row.
|
| - base::scoped_nsobject<NSArray> itemViews_;
|
| - // Maximum widthes of columns across all the rows.
|
| - CGFloat firstColumnMaxWidth_;
|
| - CGFloat secondColumnMaxWidth_;
|
| -}
|
| -- (id)initWithModel:(ManagePasswordsBubbleModel*)model
|
| - forms:(const PasswordFormsVector&)password_forms;
|
| -@end
|
| -
|
| -@interface PasswordsListViewController (Testing)
|
| -@property(readonly) NSArray* itemViews;
|
| -@end
|
| -
|
| -#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORD_ITEM_VIEW_CONTROLLER_H_
|
|
|