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

Unified Diff: ui/events/cocoa/events_mac.mm

Issue 1747803003: MacViews: Implement Tab Dragging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: ui/events/cocoa/events_mac.mm
diff --git a/ui/events/cocoa/events_mac.mm b/ui/events/cocoa/events_mac.mm
index 003b8805b806080c901f4673b98920aa7ce44db2..46c84bac34b149012e873219574820b83b903590 100644
--- a/ui/events/cocoa/events_mac.mm
+++ b/ui/events/cocoa/events_mac.mm
@@ -56,13 +56,19 @@ EventType EventTypeFromNative(const base::NativeEvent& native_event) {
case NSAppKitDefined:
case NSSystemDefined:
return ET_UNKNOWN;
- case NSFlagsChanged:
+ case NSEventTypeGesture:
+ DLOG(INFO) << "gesture??";
+ return ET_UNKNOWN;
+ case NSCursorUpdate:
+ DLOG(INFO) << "cursor update?";
+ return ET_UNKNOWN;
case NSApplicationDefined:
+ DLOG(INFO) << "application defined?";
+ return ET_UNKNOWN;
+ case NSFlagsChanged:
case NSPeriodic:
- case NSCursorUpdate:
case NSTabletPoint:
case NSTabletProximity:
- case NSEventTypeGesture:
case NSEventTypeMagnify:
case NSEventTypeRotate:
case NSEventTypeBeginGesture:

Powered by Google App Engine
This is Rietveld 408576698