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

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

Issue 1645503002: Remove dangling ManagePasswordsBubbleModel pointers. Test that different password bubbles don't pin… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 AccountChooserBridge* bridge_; // Weak. 52 AccountChooserBridge* bridge_; // Weak.
53 NSButton* cancelButton_; // Weak. 53 NSButton* cancelButton_; // Weak.
54 NSTableView* credentialsView_; // Weak. 54 NSTableView* credentialsView_; // Weak.
55 NSTextView* titleView_; // Weak. 55 NSTextView* titleView_; // Weak.
56 base::scoped_nsobject<NSArray> credentialItems_; 56 base::scoped_nsobject<NSArray> credentialItems_;
57 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; 57 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_;
58 } 58 }
59 59
60 // Initializes a new account chooser and populates it with the credentials 60 // Initializes a new account chooser and populates it with the credentials
61 // stored in |bridge->controller()|. 61 // stored in |bridge->controller()|.
62 - (id)initWithBridge:(AccountChooserBridge*)bridge; 62 - (instancetype)initWithBridge:(AccountChooserBridge*)bridge;
63
64 @property(nonatomic) AccountChooserBridge* bridge;
63 @end 65 @end
64 66
65 @interface AccountChooserViewController(Testing) 67 @interface AccountChooserViewController(Testing)
66 - (id)initWithBridge:(AccountChooserBridge*)bridge 68 - (instancetype)initWithBridge:(AccountChooserBridge*)bridge
67 avatarManager:(AccountAvatarFetcherManager*)avatarManager; 69 avatarManager:(AccountAvatarFetcherManager*)avatarManager;
68 @property(nonatomic, readonly) NSButton* cancelButton; 70 @property(nonatomic, readonly) NSButton* cancelButton;
69 @property(nonatomic, readonly) NSTableView* credentialsView; 71 @property(nonatomic, readonly) NSTableView* credentialsView;
70 @property(nonatomic, readonly) NSTextView* titleView; 72 @property(nonatomic, readonly) NSTextView* titleView;
71 @end 73 @end
72 74
73 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_ 75 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698