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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 9 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 static DragState& dragState(); 231 static DragState& dragState();
232 232
233 DataTransfer* createDraggingDataTransfer() const; 233 DataTransfer* createDraggingDataTransfer() const;
234 234
235 WebInputEventResult handleMouseMoveOrLeaveEvent(const PlatformMouseEvent&, H itTestResult* hoveredNode = nullptr, bool onlyUpdateScrollbars = false, bool for ceLeave = false); 235 WebInputEventResult handleMouseMoveOrLeaveEvent(const PlatformMouseEvent&, H itTestResult* hoveredNode = nullptr, bool onlyUpdateScrollbars = false, bool for ceLeave = false);
236 WebInputEventResult handleMousePressEvent(const MouseEventWithHitTestResults &); 236 WebInputEventResult handleMousePressEvent(const MouseEventWithHitTestResults &);
237 WebInputEventResult handleMouseFocus(const MouseEventWithHitTestResults&, In putDeviceCapabilities* sourceCapabilities); 237 WebInputEventResult handleMouseFocus(const MouseEventWithHitTestResults&, In putDeviceCapabilities* sourceCapabilities);
238 WebInputEventResult handleMouseDraggedEvent(const MouseEventWithHitTestResul ts&); 238 WebInputEventResult handleMouseDraggedEvent(const MouseEventWithHitTestResul ts&);
239 WebInputEventResult handleMouseReleaseEvent(const MouseEventWithHitTestResul ts&); 239 WebInputEventResult handleMouseReleaseEvent(const MouseEventWithHitTestResul ts&);
240 240
241 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::T ype); 241 HitTestRequest::HitTestRequestType getHitTypeForGestureType(PlatformEvent::E ventType);
242 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*); 242 void applyTouchAdjustment(PlatformGestureEvent*, HitTestResult*);
243 WebInputEventResult handleGestureTap(const GestureEventWithHitTestResults&); 243 WebInputEventResult handleGestureTap(const GestureEventWithHitTestResults&);
244 WebInputEventResult handleGestureLongPress(const GestureEventWithHitTestResu lts&); 244 WebInputEventResult handleGestureLongPress(const GestureEventWithHitTestResu lts&);
245 WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResult s&); 245 WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResult s&);
246 WebInputEventResult handleGestureScrollUpdate(const PlatformGestureEvent&); 246 WebInputEventResult handleGestureScrollUpdate(const PlatformGestureEvent&);
247 WebInputEventResult handleGestureScrollBegin(const PlatformGestureEvent&); 247 WebInputEventResult handleGestureScrollBegin(const PlatformGestureEvent&);
248 void clearGestureScrollState(); 248 void clearGestureScrollState();
249 249
250 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul ts&); 250 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul ts&);
251 251
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // scroll which shouldn't propagate can't cause any element to 455 // scroll which shouldn't propagate can't cause any element to
456 // scroll other than the |m_previousGestureScrolledNode|. 456 // scroll other than the |m_previousGestureScrolledNode|.
457 bool m_deltaConsumedForScrollSequence; 457 bool m_deltaConsumedForScrollSequence;
458 }; 458 };
459 459
460 } // namespace blink 460 } // namespace blink
461 461
462 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); 462 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo);
463 463
464 #endif // EventHandler_h 464 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698