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

Unified Diff: chrome/browser/cocoa/base_view.h

Issue 1774014: Enable mouse enter/exit events for the content area on Mac (Closed)
Patch Set: Fixes drag-scroll handling Created 10 years, 8 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/cocoa/base_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/base_view.h
diff --git a/chrome/browser/cocoa/base_view.h b/chrome/browser/cocoa/base_view.h
index a7f6c68eb7c524d5ec95eb2e2877a029a9a02298..d59a2c2ffbc5f225f7a750ec2405171059748098 100644
--- a/chrome/browser/cocoa/base_view.h
+++ b/chrome/browser/cocoa/base_view.h
@@ -7,6 +7,7 @@
#import <Cocoa/Cocoa.h>
+#include "base/scoped_nsobject.h"
#include "gfx/rect.h"
// A view that provides common functionality that many views will need:
@@ -17,6 +18,8 @@
@interface BaseView : NSView {
@private
NSTrackingArea *trackingArea_;
+ BOOL dragging_;
+ scoped_nsobject<NSEvent> pendingExitEvent_;
}
- (id)initWithFrame:(NSRect)frame;
« no previous file with comments | « no previous file | chrome/browser/cocoa/base_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698