| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_COCOA_PASSWORDS_PASSWORD_ITEM_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORD_ITEM_VIEWS_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORD_ITEM_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORD_ITEM_VIEWS_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 namespace autofill { | 10 namespace autofill { |
| 11 struct PasswordForm; | 11 struct PasswordForm; |
| 12 } // namespace autofill | 12 } // namespace autofill |
| 13 | 13 |
| 14 @class HoverImageButton; | 14 @class HoverImageButton; |
| 15 class ManagePasswordsBubbleModel; | |
| 16 @protocol PasswordItemDelegate; | 15 @protocol PasswordItemDelegate; |
| 17 | 16 |
| 18 // The state of the password item. | 17 // The state of the password item. |
| 19 enum ManagePasswordItemState { | 18 enum ManagePasswordItemState { |
| 20 MANAGE_PASSWORD_ITEM_STATE_PENDING, | 19 MANAGE_PASSWORD_ITEM_STATE_PENDING, |
| 21 MANAGE_PASSWORD_ITEM_STATE_MANAGE, | 20 MANAGE_PASSWORD_ITEM_STATE_MANAGE, |
| 22 MANAGE_PASSWORD_ITEM_STATE_DELETED | 21 MANAGE_PASSWORD_ITEM_STATE_DELETED |
| 23 }; | 22 }; |
| 24 | 23 |
| 25 // Protocol for items that have two dynamic columns. | 24 // Protocol for items that have two dynamic columns. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 - (id)initWithDelegate:(id<PasswordItemDelegate>)delegate | 92 - (id)initWithDelegate:(id<PasswordItemDelegate>)delegate |
| 94 passwordForm:(const autofill::PasswordForm*)passwordForm; | 93 passwordForm:(const autofill::PasswordForm*)passwordForm; |
| 95 @end | 94 @end |
| 96 | 95 |
| 97 @interface ManagePasswordItemViewController (Testing) | 96 @interface ManagePasswordItemViewController (Testing) |
| 98 @property(readonly) ManagePasswordItemState state; | 97 @property(readonly) ManagePasswordItemState state; |
| 99 @property(readonly) NSView* contentView; | 98 @property(readonly) NSView* contentView; |
| 100 @end | 99 @end |
| 101 | 100 |
| 102 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORD_ITEM_VIEWS_H_ | 101 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_PASSWORD_ITEM_VIEWS_H_ |
| OLD | NEW |