OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebMenuSourceType_h | 5 #ifndef WebMenuSourceType_h |
6 #define WebMenuSourceType_h | 6 #define WebMenuSourceType_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 enum WebMenuSourceType { | 10 enum WebMenuSourceType { |
11 kMenuSourceNone, | 11 kMenuSourceNone, |
12 kMenuSourceMouse, | 12 kMenuSourceMouse, |
13 kMenuSourceKeyboard, | 13 kMenuSourceKeyboard, |
14 kMenuSourceTouch, | 14 kMenuSourceTouch, |
15 kMenuSourceTouchEditMenu, | 15 kMenuSourceTouchEditMenu, |
16 kMenuSourceLongPress, | 16 kMenuSourceLongPress, |
17 kMenuSourceLongTap, | 17 kMenuSourceLongTap, |
18 kMenuSourceTouchHandle, | 18 kMenuSourceTouchHandle, |
19 kMenuSourceTypeLast = kMenuSourceTouchHandle | 19 kMenuSourceStylus, |
| 20 kMenuSourceTypeLast = kMenuSourceStylus |
20 }; | 21 }; |
21 | 22 |
22 } // namespace blink | 23 } // namespace blink |
23 | 24 |
24 #endif | 25 #endif |
OLD | NEW |