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

Unified Diff: ui/base/cocoa/hover_button.h

Issue 2898343002: [Mac] Update tab close button when user drags outside (Closed)
Patch Set: Add retain, comment on key events. Created 3 years, 7 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 | « chrome/browser/ui/cocoa/hover_close_button.mm ('k') | ui/base/cocoa/hover_button.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/hover_button.h
diff --git a/ui/base/cocoa/hover_button.h b/ui/base/cocoa/hover_button.h
index 1c5923fc0e00aa39afd5e5cc69befc42d4743a8b..b25e29aa3e1d46f64d65829fb9b4972ac7e4ca19 100644
--- a/ui/base/cocoa/hover_button.h
+++ b/ui/base/cocoa/hover_button.h
@@ -27,10 +27,15 @@ UI_BASE_EXPORT
@private
// Tracking area for button mouseover states. Nil if not enabled.
ui::ScopedCrTrackingArea trackingArea_;
+ BOOL mouseDown_;
}
@property(nonatomic) HoverState hoverState;
+// Common initialization called from initWithFrame: and awakeFromNib.
+// Subclassers should call [super commonInit].
+- (void)commonInit;
+
// Text that would be announced by screen readers.
- (void)setAccessibilityTitle:(NSString*)accessibilityTitle;
« no previous file with comments | « chrome/browser/ui/cocoa/hover_close_button.mm ('k') | ui/base/cocoa/hover_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698