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

Side by Side Diff: chrome/browser/ui/cocoa/passwords/update_pending_password_view_controller.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 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_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLE R_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLE R_H_
6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLE R_H_ 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTROLLE R_H_
7 7
8 #import "chrome/browser/ui/cocoa/passwords/pending_password_view_controller.h" 8 #import "chrome/browser/ui/cocoa/passwords/pending_password_view_controller.h"
9 9
10 class ManagePasswordsBubbleModel;
11 @class CredentialsSelectionView; 10 @class CredentialsSelectionView;
12 @class PasswordsListViewController; 11 @class PasswordsListViewController;
13 12
14 // Manages the view that offers to save the user's password. 13 // Manages the view that offers to save the user's password.
15 @interface UpdatePendingPasswordViewController 14 @interface UpdatePendingPasswordViewController
16 : PendingPasswordViewController<NSTextViewDelegate> { 15 : PendingPasswordViewController<NSTextViewDelegate> {
17 @private 16 @private
18 base::scoped_nsobject<NSButton> updateButton_; 17 base::scoped_nsobject<NSButton> updateButton_;
19 base::scoped_nsobject<NSButton> nopeButton_; 18 base::scoped_nsobject<NSButton> nopeButton_;
20 base::scoped_nsobject<PasswordsListViewController> passwordItem_; 19 base::scoped_nsobject<PasswordsListViewController> passwordItem_;
21 base::scoped_nsobject<CredentialsSelectionView> 20 base::scoped_nsobject<CredentialsSelectionView>
22 passwordWithUsernameSelectionItem_; 21 passwordWithUsernameSelectionItem_;
23 } 22 }
24 23
25 - (NSView*)createPasswordView; 24 - (NSView*)createPasswordView;
26 - (NSArray*)createButtonsAndAddThemToView:(NSView*)view; 25 - (NSArray*)createButtonsAndAddThemToView:(NSView*)view;
27 @end 26 @end
28 27
29 @interface UpdatePendingPasswordViewController (Testing) 28 @interface UpdatePendingPasswordViewController (Testing)
30 @property(readonly) NSButton* updateButton; 29 @property(readonly) NSButton* updateButton;
31 @property(readonly) NSButton* noButton; 30 @property(readonly) NSButton* noButton;
32 @end 31 @end
33 32
34 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTRO LLER_H_ 33 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_UPDATE_PENDING_PASSWORD_VIEW_CONTRO LLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698