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

Side by Side Diff: ui/events/cocoa/events_mac.mm

Issue 1259913003: MacViews: Implement Tab Dragging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150529-ViewsBrowser-DisableCertificateDialog
Patch Set: update comments, still a TODO Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/events/event_utils.h" 5 #include "ui/events/event_utils.h"
6 6
7 #include <Cocoa/Cocoa.h> 7 #include <Cocoa/Cocoa.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #import "base/mac/mac_util.h" 10 #import "base/mac/mac_util.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 return ET_MOUSEWHEEL; 48 return ET_MOUSEWHEEL;
49 case NSMouseEntered: 49 case NSMouseEntered:
50 return ET_MOUSE_ENTERED; 50 return ET_MOUSE_ENTERED;
51 case NSMouseExited: 51 case NSMouseExited:
52 return ET_MOUSE_EXITED; 52 return ET_MOUSE_EXITED;
53 case NSEventTypeSwipe: 53 case NSEventTypeSwipe:
54 return ET_SCROLL_FLING_START; 54 return ET_SCROLL_FLING_START;
55 case NSAppKitDefined: 55 case NSAppKitDefined:
56 case NSSystemDefined: 56 case NSSystemDefined:
57 return ET_UNKNOWN; 57 return ET_UNKNOWN;
58 case NSEventTypeGesture:
59 DLOG(INFO) << "gesture??";
60 return ET_UNKNOWN;
61 case NSCursorUpdate:
62 DLOG(INFO) << "cursor update?";
63 return ET_UNKNOWN;
64 case NSApplicationDefined:
65 DLOG(INFO) << "application defined?";
66 return ET_UNKNOWN;
58 case NSFlagsChanged: 67 case NSFlagsChanged:
59 case NSApplicationDefined:
60 case NSPeriodic: 68 case NSPeriodic:
61 case NSCursorUpdate:
62 case NSTabletPoint: 69 case NSTabletPoint:
63 case NSTabletProximity: 70 case NSTabletProximity:
64 case NSEventTypeGesture:
65 case NSEventTypeMagnify: 71 case NSEventTypeMagnify:
66 case NSEventTypeRotate: 72 case NSEventTypeRotate:
67 case NSEventTypeBeginGesture: 73 case NSEventTypeBeginGesture:
68 case NSEventTypeEndGesture: 74 case NSEventTypeEndGesture:
69 NOTIMPLEMENTED() << type; 75 NOTIMPLEMENTED() << type;
70 break; 76 break;
71 default: 77 default:
72 NOTIMPLEMENTED() << type; 78 NOTIMPLEMENTED() << type;
73 break; 79 break;
74 } 80 }
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 uint16 return_value; 270 uint16 return_value;
265 [text getCharacters:&return_value]; 271 [text getCharacters:&return_value];
266 return return_value; 272 return return_value;
267 } 273 }
268 274
269 bool IsCharFromNative(const base::NativeEvent& native_event) { 275 bool IsCharFromNative(const base::NativeEvent& native_event) {
270 return false; 276 return false;
271 } 277 }
272 278
273 } // namespace ui 279 } // namespace ui
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_mac.mm ('k') | ui/views/cocoa/bridged_content_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698