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

Side by Side Diff: third_party/WebKit/Source/platform/PlatformGestureEvent.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) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 class PlatformGestureEvent : public PlatformEvent { 45 class PlatformGestureEvent : public PlatformEvent {
46 public: 46 public:
47 PlatformGestureEvent() 47 PlatformGestureEvent()
48 : PlatformEvent(PlatformEvent::GestureScrollBegin) 48 : PlatformEvent(PlatformEvent::GestureScrollBegin)
49 , m_source(PlatformGestureSourceUninitialized) 49 , m_source(PlatformGestureSourceUninitialized)
50 { 50 {
51 memset(&m_data, 0, sizeof(m_data)); 51 memset(&m_data, 0, sizeof(m_data));
52 } 52 }
53 53
54 PlatformGestureEvent(Type type, const IntPoint& position, 54 PlatformGestureEvent(EventType type, const IntPoint& position,
55 const IntPoint& globalPosition, const IntSize& area, double timestamp, 55 const IntPoint& globalPosition, const IntSize& area, double timestamp,
56 PlatformEvent::Modifiers modifiers, PlatformGestureSource source) 56 PlatformEvent::Modifiers modifiers, PlatformGestureSource source)
57 : PlatformEvent(type, modifiers, timestamp) 57 : PlatformEvent(type, modifiers, timestamp)
58 , m_position(position) 58 , m_position(position)
59 , m_globalPosition(globalPosition) 59 , m_globalPosition(globalPosition)
60 , m_area(area) 60 , m_area(area)
61 , m_source(source) 61 , m_source(source)
62 { 62 {
63 memset(&m_data, 0, sizeof(m_data)); 63 memset(&m_data, 0, sizeof(m_data));
64 } 64 }
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 struct { 227 struct {
228 float m_scale; 228 float m_scale;
229 } m_pinchUpdate; 229 } m_pinchUpdate;
230 } m_data; 230 } m_data;
231 }; 231 };
232 232
233 } // namespace blink 233 } // namespace blink
234 234
235 #endif // PlatformGestureEvent_h 235 #endif // PlatformGestureEvent_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/PlatformEvent.h ('k') | third_party/WebKit/Source/platform/PlatformKeyboardEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698