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

Side by Side Diff: third_party/WebKit/Source/platform/PlatformEvent.h

Issue 2344693002: Support WebPointerProperties in MouseEvent (Closed)
Patch Set: fixed osx build Created 4 years, 3 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 14 matching lines...) Expand all
25 25
26 #ifndef PlatformEvent_h 26 #ifndef PlatformEvent_h
27 #define PlatformEvent_h 27 #define PlatformEvent_h
28 28
29 #include "wtf/Allocator.h" 29 #include "wtf/Allocator.h"
30 #include "wtf/Noncopyable.h" 30 #include "wtf/Noncopyable.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class PlatformEvent { 34 class PlatformEvent {
35 DISALLOW_NEW();
36 public: 35 public:
37 enum EventType { 36 enum EventType {
38 NoType = 0, 37 NoType = 0,
39 38
40 // PlatformMouseEvent 39 // PlatformMouseEvent
41 MouseMoved, 40 MouseMoved,
42 MousePressed, 41 MousePressed,
43 MouseReleased, 42 MouseReleased,
44 MouseScroll, 43 MouseScroll,
45 44
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 } 167 }
169 168
170 unsigned m_type; 169 unsigned m_type;
171 unsigned m_modifiers; 170 unsigned m_modifiers;
172 double m_timestamp; 171 double m_timestamp;
173 }; 172 };
174 173
175 } // namespace blink 174 } // namespace blink
176 175
177 #endif // PlatformEvent_h 176 #endif // PlatformEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698