| Index: Source/WebCore/page/Settings.h
|
| diff --git a/Source/WebCore/page/Settings.h b/Source/WebCore/page/Settings.h
|
| index 160d4c1c1fdf0554cca314faf85f718313a4da21..9a658514825f70957e542df08dd50fb471c65d04 100644
|
| --- a/Source/WebCore/page/Settings.h
|
| +++ b/Source/WebCore/page/Settings.h
|
| @@ -57,6 +57,21 @@ namespace WebCore {
|
| TextDirectionSubmenuAlwaysIncluded
|
| };
|
|
|
| + // Enum bit flags for primary pointer device to tell Blink what kind of
|
| + // input the user is primarily using. Note that it's not an exhaustive
|
| + // list of what is available on the user's system - rather, it's available
|
| + // pointer devices that we expect the user to use.
|
| + // e.g. Primary pointer may be set to PointerDeviceMouse even though the
|
| + // device has a mouse and a touch screen.
|
| + // Note: PointerDeviceNone is mutually exclusive with other flags
|
| + // PointerDeviceUnknown is not actually a flag
|
| + enum PointerDevice {
|
| + PointerDeviceUnknown = 0,
|
| + PointerDeviceMouse = 1,
|
| + PointerDeviceTouch = 2,
|
| + PointerDeviceNone = 4
|
| + };
|
| +
|
| // UScriptCode uses -1 and 0 for UScriptInvalidCode and UScriptCommon.
|
| // We need to use -2 and -3 for empty value and deleted value.
|
| struct UScriptCodeHashTraits : WTF::GenericHashTraits<int> {
|
|
|