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

Unified Diff: chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h

Issue 8332008: Cocoa: Support keyboard navigation in avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 9 years, 2 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/browser/avatar_menu_bubble_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h b/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h
index 28da26fc9deb27776e09249f9f414112f651793e..ab6da1694e273b0d69fc640a58d5be9b7fdb743b 100644
--- a/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h
@@ -58,6 +58,9 @@ class Browser;
// The AvatarMenuModel::item.model_index field.
size_t modelIndex_;
+ // Tracks whether this item is currently highlighted.
+ BOOL isHighlighted_;
+
// Instance variables that back the outlets.
__weak NSImageView* iconView_;
__weak NSImageView* activeView_;
@@ -69,6 +72,7 @@ class Browser;
__weak NSButton* editButton_;
}
@property(readonly, nonatomic) size_t modelIndex;
+@property(assign, nonatomic) BOOL isHighlighted;
@property(assign, nonatomic) IBOutlet NSImageView* iconView;
@property(assign, nonatomic) IBOutlet NSImageView* activeView;
@property(assign, nonatomic) IBOutlet NSTextField* nameField;
@@ -102,9 +106,6 @@ class Browser;
// Used to highlight the background on hover.
ScopedCrTrackingArea trackingArea_;
-
- // Whether the mouse is inside the bounds of this view.
- BOOL mouseInside_;
}
@property(assign, nonatomic) IBOutlet AvatarMenuItemController* viewController;
@end
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698