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

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

Issue 2448173002: Fix processing of mouse events on MacViews.
Patch Set: Fix review issues. Created 4 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 | ui/base/cocoa/base_view.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/cocoa/base_view.h
diff --git a/ui/base/cocoa/base_view.h b/ui/base/cocoa/base_view.h
index 0675caeae632e96c577ef8b17c98af441be57355..496d22eb2ca289d4cfcc5351847bdfa5d44b6d15 100644
--- a/ui/base/cocoa/base_view.h
+++ b/ui/base/cocoa/base_view.h
@@ -36,6 +36,9 @@ UI_BASE_EXPORT
// subclass.
- (void)mouseEvent:(NSEvent *)theEvent;
+// Passes the event to the view's superview, so it could be processed there.
+- (void)passMouseEventToSuperview:(NSEvent*)theEvent;
+
// keyEvent should return kEventHandled if it handled the event, or
// kEventNotHandled if it should be forwarded to BaseView's super class.
- (EventHandled)keyEvent:(NSEvent *)theEvent;
« no previous file with comments | « no previous file | ui/base/cocoa/base_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698