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

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

Issue 2511043002: [Mac] Omnibox icons active states (Closed)
Patch Set: Fixed Bookmark test Created 4 years, 1 month 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
Index: chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h b/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h
index e07d78c7f11ac22a16d22745c4e11468fbf98fec..9d1b76a062f5425afcbd2815a68e8e6868990f6a 100644
--- a/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h
@@ -8,19 +8,24 @@
#import <Cocoa/Cocoa.h>
#include "base/mac/scoped_nsobject.h"
-#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
+#import "chrome/browser/ui/cocoa/omnibox_decoration_bubble_controller.h"
#import "chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.h"
#import "chrome/browser/ui/cocoa/passwords/pending_password_view_controller.h"
#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
+class ManagePasswordsDecoration;
+
// Controller for the Cocoa manage passwords bubble. Transitions through several
// views according to user interaction and updates the password management state
// accordingly.
@interface ManagePasswordsBubbleController
- : BaseBubbleController<BasePasswordsContentViewDelegate> {
+ : OmniboxDecorationBubbleController<BasePasswordsContentViewDelegate> {
@private
ManagePasswordsBubbleModel* model_;
base::scoped_nsobject<BasePasswordsContentViewController> currentController_;
+
+ // The omnibox decoration the bubble is anchored to.
+ ManagePasswordsDecoration* decoration_; // weak
}
- (id)initWithParentWindow:(NSWindow*)parentWindow
model:(ManagePasswordsBubbleModel*)model;

Powered by Google App Engine
This is Rietveld 408576698