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

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

Issue 2484973004: [Mac] Refactor Immersive Fullscreen Logic (Closed)
Patch Set: Fix for erikchen 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: ui/base/cocoa/tracking_area.h
diff --git a/ui/base/cocoa/tracking_area.h b/ui/base/cocoa/tracking_area.h
index 07eb70b5f3dda652e82ceead87187daecbcc6d88..0f67d6ca636ec42fa08c23a2119f1fd043f6ad9e 100644
--- a/ui/base/cocoa/tracking_area.h
+++ b/ui/base/cocoa/tracking_area.h
@@ -35,6 +35,10 @@ UI_BASE_EXPORT
// |-clearOwner| when the notification is observed.
- (void)clearOwnerWhenWindowWillClose:(NSWindow*)window;
+// Returns YES if the mouse is inside the tracking area's rect. |view| is the
+// NSView the tracking area is attached to.
+- (BOOL)mouseInsideTrackingAreaForView:(NSView*)view;
+
@end
// Scoper //////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698