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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h

Issue 446073002: Add ManagePasswordsBubbleBlacklistViewController and unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: finalize Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..db3af4e15a38250bcc707a458c8290a04b356749
--- /dev/null
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.h
@@ -0,0 +1,36 @@
+// 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_BUBBLE_BLACKLIST_VIEW_CONTROLLER_H_
+#define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_BLACKLIST_VIEW_CONTROLLER_H_
+
+#import <Cocoa/Cocoa.h>
+
+#include "base/mac/scoped_nsobject.h"
+#include "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h"
+
+@class BubbleCombobox;
+class ManagePasswordsBubbleModel;
+@class ManagePasswordItemViewController;
+
+// Manages the view that informs the user that the current site is blacklisted
+// from the password manager and offers to un-blacklist it.
+@interface ManagePasswordsBubbleBlacklistViewController
+ : ManagePasswordsBubbleContentViewController {
+ @private
+ ManagePasswordsBubbleModel* model_; // weak
+ id<ManagePasswordsBubbleContentViewDelegate> delegate_; // weak
+ base::scoped_nsobject<NSButton> doneButton_;
+ base::scoped_nsobject<NSButton> undoBlacklistButton_;
+}
+- (id)initWithModel:(ManagePasswordsBubbleModel*)model
+ delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate;
+@end
+
+@interface ManagePasswordsBubbleBlacklistViewController (Testing)
+@property(readonly) NSButton* doneButton;
+@property(readonly) NSButton* undoBlacklistButton;
+@end
+
+#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_BLACKLIST_VIEW_CONTROLLER_H_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_blacklist_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698