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

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

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 GestureFlingStart, 63 GestureFlingStart,
64 64
65 // PlatformTouchEvent 65 // PlatformTouchEvent
66 TouchStart, 66 TouchStart,
67 TouchMove, 67 TouchMove,
68 TouchEnd, 68 TouchEnd,
69 TouchCancel, 69 TouchCancel,
70 TouchScrollStarted, 70 TouchScrollStarted,
71 }; 71 };
72 72
73 // These values are direct mappings of the values in WebInputEvent so the valu es can be cast between the 73 // These values are direct mappings of the values in WebInputEvent so the
74 // enumerations. static_asserts checking this are in web/WebInputEventConversi on.cpp. 74 // values can be cast between the enumerations. static_asserts checking this
75 // are in web/WebInputEventConversion.cpp.
75 enum Modifiers { 76 enum Modifiers {
76 NoModifiers = 0, 77 NoModifiers = 0,
77 ShiftKey = 1 << 0, 78 ShiftKey = 1 << 0,
78 CtrlKey = 1 << 1, 79 CtrlKey = 1 << 1,
79 AltKey = 1 << 2, 80 AltKey = 1 << 2,
80 MetaKey = 1 << 3, 81 MetaKey = 1 << 3,
81 82
82 IsKeyPad = 1 << 4, 83 IsKeyPad = 1 << 4,
83 IsAutoRepeat = 1 << 5, 84 IsAutoRepeat = 1 << 5,
84 85
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 ~PlatformEvent() {} 154 ~PlatformEvent() {}
154 155
155 unsigned m_type; 156 unsigned m_type;
156 unsigned m_modifiers; 157 unsigned m_modifiers;
157 double m_timestamp; 158 double m_timestamp;
158 }; 159 };
159 160
160 } // namespace blink 161 } // namespace blink
161 162
162 #endif // PlatformEvent_h 163 #endif // PlatformEvent_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698