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

Side by Side Diff: third_party/WebKit/public/platform/WebInputEvent.h

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix tests Created 3 years, 7 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 kScrollLockOn = 1 << 18, 227 kScrollLockOn = 1 << 18,
228 228
229 // Whether this is a compatibility event generated due to a 229 // Whether this is a compatibility event generated due to a
230 // native touch event. Mouse events generated from touch 230 // native touch event. Mouse events generated from touch
231 // events will set this. 231 // events will set this.
232 kIsCompatibilityEventForTouch = 1 << 19, 232 kIsCompatibilityEventForTouch = 1 << 19,
233 233
234 kBackButtonDown = 1 << 20, 234 kBackButtonDown = 1 << 20,
235 kForwardButtonDown = 1 << 21, 235 kForwardButtonDown = 1 << 21,
236 236
237 kSelectAll = 1 << 22,
238
237 // The set of non-stateful modifiers that specifically change the 239 // The set of non-stateful modifiers that specifically change the
238 // interpretation of the key being pressed. For example; IsLeft, 240 // interpretation of the key being pressed. For example; IsLeft,
239 // IsRight, IsComposing don't change the meaning of the key 241 // IsRight, IsComposing don't change the meaning of the key
240 // being pressed. NumLockOn, ScrollLockOn, CapsLockOn are stateful 242 // being pressed. NumLockOn, ScrollLockOn, CapsLockOn are stateful
241 // and don't indicate explicit depressed state. 243 // and don't indicate explicit depressed state.
242 kKeyModifiers = kSymbolKey | kFnKey | kAltGrKey | kMetaKey | kAltKey | 244 kKeyModifiers = kSymbolKey | kFnKey | kAltGrKey | kMetaKey | kAltKey |
243 kControlKey | 245 kControlKey |
244 kShiftKey, 246 kShiftKey,
245 kNoModifiers = 0, 247 kNoModifiers = 0,
246 }; 248 };
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 unsigned size_; // The size of this structure, for serialization. 432 unsigned size_; // The size of this structure, for serialization.
431 Type type_; 433 Type type_;
432 int modifiers_; 434 int modifiers_;
433 }; 435 };
434 436
435 #pragma pack(pop) 437 #pragma pack(pop)
436 438
437 } // namespace blink 439 } // namespace blink
438 440
439 #endif 441 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698