Home
last modified time | relevance | path

Searched refs:NSEvent (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/external/chromium_org/ui/base/test/
Dcocoa_test_event_utils.mm22 NSEvent* MouseEventAtPoint(NSPoint point, NSEventType type,
26 // "center" button flags so that our resulting NSEvent will have the
27 // appropriate buttonNumber field. NSEvent provides no way to create a
33 NSEvent* event = [NSEvent eventWithCGEvent:cg_event];
37 return [NSEvent mouseEventWithType:type
48 NSEvent* MouseEventWithType(NSEventType type, NSUInteger modifiers) {
52 static NSEvent* MouseEventAtPointInWindow(NSPoint point,
56 return [NSEvent mouseEventWithType:type
67 NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window) {
71 NSEvent* LeftMouseDownAtPoint(NSPoint point) {
[all …]
Dcocoa_test_event_utils.h34 NSEvent* MouseEventWithType(NSEventType type, NSUInteger modifiers);
35 NSEvent* MouseEventAtPoint(NSPoint point, NSEventType type,
37 NSEvent* LeftMouseDownAtPoint(NSPoint point);
38 NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window);
42 std::pair<NSEvent*, NSEvent*> MouseClickInView(NSView* view,
46 NSEvent* KeyEventWithCharacter(unichar c);
49 NSEvent* KeyEventWithType(NSEventType event_type, NSUInteger modifiers);
52 NSEvent* KeyEventWithKeyCode(unsigned short key_code,
58 NSEvent* EnterExitEventWithType(NSEventType event_type);
61 NSEvent* OtherEventWithType(NSEventType event_type);
/external/chromium/chrome/browser/ui/cocoa/
Dbase_view.mm36 - (void)mouseEvent:(NSEvent *)theEvent { argument
40 - (void)keyEvent:(NSEvent *)theEvent {
44 - (void)mouseDown:(NSEvent *)theEvent {
49 - (void)rightMouseDown:(NSEvent *)theEvent {
53 - (void)otherMouseDown:(NSEvent *)theEvent {
57 - (void)mouseUp:(NSEvent *)theEvent {
62 NSEvent* exitEvent = argument
63 [NSEvent enterExitEventWithType:NSMouseExited
77 - (void)rightMouseUp:(NSEvent *)theEvent { argument
81 - (void)otherMouseUp:(NSEvent *)theEvent { argument
[all …]
Dtest_event_utils.mm22 NSEvent* MouseEventAtPoint(NSPoint point, NSEventType type,
26 // "center" button flags so that our resulting NSEvent will have the
27 // appropriate buttonNumber field. NSEvent provides no way to create a
33 NSEvent* event = [NSEvent eventWithCGEvent:cg_event];
37 return [NSEvent mouseEventWithType:type
48 NSEvent* MakeMouseEvent(NSEventType type, NSUInteger modifiers) {
52 static NSEvent* MouseEventAtPointInWindow(NSPoint point,
56 return [NSEvent mouseEventWithType:type
67 NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window) {
71 NSEvent* LeftMouseDownAtPoint(NSPoint point) {
[all …]
Dfloating_bar_backing_view.mm32 - (void)mouseDown:(NSEvent*)event {} argument
33 - (void)rightMouseDown:(NSEvent*)event {} argument
34 - (void)otherMouseDown:(NSEvent*)event {} argument
35 - (void)rightMouseUp:(NSEvent*)event {} argument
36 - (void)otherMouseUp:(NSEvent*)event {} argument
37 - (void)mouseMoved:(NSEvent*)event {} argument
38 - (void)mouseDragged:(NSEvent*)event {} argument
39 - (void)rightMouseDragged:(NSEvent*)event {} argument
40 - (void)otherMouseDragged:(NSEvent*)event {} argument
43 - (void)mouseUp:(NSEvent*)event { argument
Dtest_event_utils.h35 NSEvent* MakeMouseEvent(NSEventType type, NSUInteger modifiers);
36 NSEvent* MouseEventAtPoint(NSPoint point, NSEventType type,
38 NSEvent* LeftMouseDownAtPoint(NSPoint point);
39 NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window);
43 std::pair<NSEvent*, NSEvent*> MouseClickInView(NSView* view,
Dchrome_event_processing_window.h28 - (BOOL)redispatchKeyEvent:(NSEvent*)event;
34 - (BOOL)handleExtraWindowKeyboardShortcut:(NSEvent*)event;
38 - (BOOL)handleDelayedWindowKeyboardShortcut:(NSEvent*)event;
42 - (BOOL)handleExtraBrowserKeyboardShortcut:(NSEvent*)event;
45 - (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
Ddraggable_button_unittest.mm29 - (void)beginDrag:(NSEvent*)theEvent { argument
56 NSEvent* downEvent =
59 NSEvent* upEvent =
71 NSEvent* downEvent =
75 NSEvent* firstMove =
79 NSEvent* firstUpEvent =
83 NSEvent* secondMove =
87 NSEvent* secondUpEvent =
110 NSEvent* downEvent =
114 NSEvent* moveEvent =
[all …]
Dchrome_event_processing_window.mm18 - (NSEvent*)keyEventForWindow:(NSWindow*)window fromKeyEvent:(NSEvent*)event; category
23 - (BOOL)handleExtraKeyboardShortcut:(NSEvent*)event fromTable:
48 - (BOOL)handleExtraWindowKeyboardShortcut:(NSEvent*)event { argument
53 - (BOOL)handleDelayedWindowKeyboardShortcut:(NSEvent*)event { argument
58 - (BOOL)handleExtraBrowserKeyboardShortcut:(NSEvent*)event { argument
63 - (BOOL)performKeyEquivalent:(NSEvent*)event { argument
92 - (BOOL)redispatchKeyEvent:(NSEvent*)event { argument
123 - (void)sendEvent:(NSEvent*)event { argument
130 - (NSEvent*)keyEventForWindow:(NSWindow*)window fromKeyEvent:(NSEvent*)event { argument
152 return [NSEvent keyEventWithType:eventType
/external/chromium_org/ui/base/cocoa/
Dbase_view.mm25 - (void)mouseEvent:(NSEvent*)theEvent { argument
29 - (EventHandled)keyEvent:(NSEvent*)theEvent { argument
36 - (void)mouseDown:(NSEvent*)theEvent { argument
41 - (void)rightMouseDown:(NSEvent*)theEvent { argument
45 - (void)otherMouseDown:(NSEvent*)theEvent { argument
49 - (void)mouseUp:(NSEvent*)theEvent { argument
54 NSEvent* exitEvent =
55 [NSEvent enterExitEventWithType:NSMouseExited
69 - (void)rightMouseUp:(NSEvent*)theEvent { argument
73 - (void)otherMouseUp:(NSEvent*)theEvent { argument
[all …]
Dcocoa_event_utils_unittest.mm15 // implementation that we swap with NSEvent's. This is because we can't create a
16 // NSEvent that represents a middle click with modifiers.
32 NSEvent* me = cocoa_test_event_utils::MouseEventWithType(NSLeftMouseUp, 0);
41 ScopedClassSwizzler swizzler([NSEvent class], [TestEvent class],
68 NSEvent* left = cocoa_test_event_utils::MouseEventWithType(NSLeftMouseUp, 0);
72 NSEvent* right = cocoa_test_event_utils::MouseEventWithType(NSRightMouseUp,
77 NSEvent* middle = cocoa_test_event_utils::MouseEventWithType(NSOtherMouseUp,
82 NSEvent* caps =
89 NSEvent* shift = cocoa_test_event_utils::MouseEventWithType(NSLeftMouseUp,
94 NSEvent* ctrl = cocoa_test_event_utils::MouseEventWithType(NSLeftMouseUp,
[all …]
Dcocoa_event_utils.mm12 bool isLeftButtonEvent(NSEvent* event) {
19 bool isRightButtonEvent(NSEvent* event) {
26 bool isMiddleButtonEvent(NSEvent* event) {
40 // Retrieves a bitsum of ui::EventFlags from NSEvent.
41 int EventFlagsFromNSEvent(NSEvent* event) {
46 int EventFlagsFromNSEventWithModifiers(NSEvent* event, NSUInteger modifiers) {
59 WindowOpenDisposition WindowOpenDispositionFromNSEvent(NSEvent* event) {
65 NSEvent* event, NSUInteger modifiers) {
Dcocoa_event_utils.h16 UI_EXPORT int EventFlagsFromNSEvent(NSEvent* event);
23 UI_EXPORT int EventFlagsFromNSEventWithModifiers(NSEvent* event,
30 NSEvent* event);
38 NSEvent* event, NSUInteger flags);
/external/chromium_org/content/public/browser/
Drender_widget_host_view_mac_delegate.h19 @class NSEvent;
28 - (BOOL)handleEvent:(NSEvent*)event;
47 - (void)beginGestureWithEvent:(NSEvent*)event;
48 - (void)endGestureWithEvent:(NSEvent*)event;
53 - (void)touchesMovedWithEvent:(NSEvent*)event;
54 - (void)touchesBeganWithEvent:(NSEvent*)event;
55 - (void)touchesCancelledWithEvent:(NSEvent*)event;
56 - (void)touchesEndedWithEvent:(NSEvent*)event;
/external/chromium_org/chrome/browser/ui/cocoa/
Dfloating_bar_backing_view.mm30 - (void)mouseDown:(NSEvent*)event {} argument
31 - (void)rightMouseDown:(NSEvent*)event {} argument
32 - (void)otherMouseDown:(NSEvent*)event {} argument
33 - (void)rightMouseUp:(NSEvent*)event {} argument
34 - (void)otherMouseUp:(NSEvent*)event {} argument
35 - (void)mouseMoved:(NSEvent*)event {} argument
36 - (void)mouseDragged:(NSEvent*)event {} argument
37 - (void)rightMouseDragged:(NSEvent*)event {} argument
38 - (void)otherMouseDragged:(NSEvent*)event {} argument
41 - (void)mouseUp:(NSEvent*)event { argument
Dchrome_event_processing_window.h27 - (BOOL)redispatchKeyEvent:(NSEvent*)event;
33 - (BOOL)handleExtraWindowKeyboardShortcut:(NSEvent*)event;
37 - (BOOL)handleDelayedWindowKeyboardShortcut:(NSEvent*)event;
41 - (BOOL)handleExtraBrowserKeyboardShortcut:(NSEvent*)event;
44 - (BOOL)performKeyEquivalent:(NSEvent*)theEvent;
Ddraggable_button_unittest.mm29 - (void)beginDrag:(NSEvent*)theEvent { argument
57 NSEvent* downEvent =
61 NSEvent* upEvent =
75 NSEvent* downEvent =
79 NSEvent* firstMove =
83 NSEvent* firstUpEvent =
87 NSEvent* secondMove =
91 NSEvent* secondUpEvent =
115 NSEvent* downEvent =
119 NSEvent* moveEvent =
[all …]
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_render_widget_host_view_mac_history_swiper_unit_test.mm16 - (BOOL)systemSettingsAllowHistorySwiping:(NSEvent*)event; argument
19 event:(NSEvent*)event; argument
23 event:(NSEvent*)event; argument
26 event:(NSEvent*)event; argument
122 id mockEvent = [OCMockObject mockForClass:[NSEvent class]];
129 [(NSEvent*)[[mockEvent stub] andReturnValue:OCMOCK_VALUE(type)] type];
140 [(NSEvent*)[[event stub] andReturnValue:OCMOCK_VALUE(phase)] phase];
141 [(NSEvent*)
143 [(NSEvent*)[[event stub]
145 [(NSEvent*)[[event stub]
[all …]
Dchrome_render_widget_host_view_mac_history_swiper.h97 - (BOOL)handleEvent:(NSEvent*)event;
104 - (void)touchesBeganWithEvent:(NSEvent*)event;
105 - (void)touchesMovedWithEvent:(NSEvent*)event;
106 - (void)touchesCancelledWithEvent:(NSEvent*)event;
107 - (void)touchesEndedWithEvent:(NSEvent*)event;
108 - (void)beginGestureWithEvent:(NSEvent*)event;
109 - (void)endGestureWithEvent:(NSEvent*)event;
/external/chromium_org/third_party/WebKit/public/web/mac/
DWebInputEventFactory.h37 @class NSEvent;
40 class NSEvent; variable
53 BLINK_EXPORT static WebKeyboardEvent keyboardEvent(NSEvent*);
55 BLINK_EXPORT static WebMouseEvent mouseEvent(NSEvent*, NSView*);
56 BLINK_EXPORT static WebMouseWheelEvent mouseWheelEvent(NSEvent*, NSView*);
57 BLINK_EXPORT static WebGestureEvent gestureEvent(NSEvent *, NSView *);
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_button.mm8 - (BOOL)updateStatus:(NSEvent*)theEvent; argument
15 - (void)mouseDown:(NSEvent*)theEvent { argument
20 - (void)mouseDragged:(NSEvent*)theEvent { argument
25 - (void)mouseUp:(NSEvent*)theEvent { argument
30 - (void)otherMouseDown:(NSEvent*)theEvent { argument
37 - (void)otherMouseDragged:(NSEvent*)theEvent { argument
44 - (void)otherMouseUp:(NSEvent*)theEvent { argument
57 - (BOOL)updateStatus:(NSEvent*)theEvent { argument
66 - (BOOL)shouldHandleEvent:(NSEvent*)theEvent { argument
/external/chromium_org/ui/app_list/cocoa/
Dapps_collection_view_drag_manager.mm25 hitWithEvent:(NSEvent*)theEvent;
27 - (void)initiateDrag:(NSEvent*)theEvent; argument
28 - (void)updateDrag:(NSEvent*)theEvent; argument
31 - (NSMenu*)menuForEvent:(NSEvent*)theEvent
84 withEvent:(NSEvent*)theEvent { argument
95 - (void)onMouseDragged:(NSEvent*)theEvent { argument
115 - (void)onMouseUp:(NSEvent*)theEvent { argument
128 hitWithEvent:(NSEvent*)theEvent { argument
145 - (void)initiateDrag:(NSEvent*)theEvent { argument
164 - (void)updateDrag:(NSEvent*)theEvent { argument
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_popup_matrix.mm12 // NSEvent -buttonNumber for middle mouse button.
20 - (void)highlightRowUnder:(NSEvent*)theEvent; argument
21 - (BOOL)selectCellForEvent:(NSEvent*)theEvent; argument
67 - (void)mouseEntered:(NSEvent*)theEvent { argument
71 - (void)mouseMoved:(NSEvent*)theEvent { argument
75 - (void)mouseExited:(NSEvent*)theEvent { argument
81 - (void)otherMouseDown:(NSEvent*)theEvent { argument
88 - (void)otherMouseDragged:(NSEvent*)theEvent { argument
95 - (void)otherMouseUp:(NSEvent*)theEvent { argument
116 - (void)mouseDown:(NSEvent*)theEvent { argument
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dautocomplete_text_field_cell.h61 - (LocationBarDecoration*)decorationForEvent:(NSEvent*)theEvent
68 - (NSMenu*)decorationMenuForEvent:(NSEvent*)theEvent
74 - (BOOL)mouseDown:(NSEvent*)theEvent
80 - (void)mouseEntered:(NSEvent*)theEvent
82 - (void)mouseExited:(NSEvent*)theEvent
/external/chromium/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_view.mm97 - (void)mouseDown:(NSEvent *)theEvent { argument
100 - (void)rightMouseDown:(NSEvent *)theEvent { argument
103 - (void)otherMouseDown:(NSEvent *)theEvent { argument
106 - (void)mouseUp:(NSEvent *)theEvent { argument
109 - (void)rightMouseUp:(NSEvent *)theEvent { argument
112 - (void)otherMouseUp:(NSEvent *)theEvent { argument
115 - (void)mouseMoved:(NSEvent *)theEvent { argument
118 - (void)mouseDragged:(NSEvent *)theEvent { argument
121 - (void)rightMouseDragged:(NSEvent *)theEvent { argument
124 - (void)otherMouseDragged:(NSEvent *)theEvent { argument

12345678910>>...12