Modified: trunk/Source/WebCore/platform/PlatformWheelEvent.h (173033 => 173034)
--- trunk/Source/WebCore/platform/PlatformWheelEvent.h 2014-08-27 23:24:19 UTC (rev 173033)
+++ trunk/Source/WebCore/platform/PlatformWheelEvent.h 2014-08-27 23:29:28 UTC (rev 173034)
@@ -48,13 +48,13 @@
// and synthesized in other cases where platforms generate line-by-line scrolling events.
// The ScrollByPageWheelEvent indicates that the wheel event should scroll an entire page. In this case WebCore's built in paging behavior is used to page
// up and down (you get the same behavior as if the user was clicking in a scrollbar track to page up or page down).
- enum PlatformWheelEventGranularity : uint64_t {
+ enum PlatformWheelEventGranularity : uint8_t {
ScrollByPageWheelEvent,
ScrollByPixelWheelEvent,
};
#if PLATFORM(COCOA)
- enum PlatformWheelEventPhase : uint64_t {
+ enum PlatformWheelEventPhase : uint8_t {
PlatformWheelEventPhaseNone = 0,
PlatformWheelEventPhaseBegan = 1 << 0,
PlatformWheelEventPhaseStationary = 1 << 1,
Modified: trunk/Source/WebCore/platform/ScrollTypes.h (173033 => 173034)
--- trunk/Source/WebCore/platform/ScrollTypes.h 2014-08-27 23:24:19 UTC (rev 173033)
+++ trunk/Source/WebCore/platform/ScrollTypes.h 2014-08-27 23:29:28 UTC (rev 173034)
@@ -30,14 +30,14 @@
namespace WebCore {
- enum ScrollDirection : uint64_t {
+ enum ScrollDirection : uint8_t {
ScrollUp,
ScrollDown,
ScrollLeft,
ScrollRight
};
- enum ScrollLogicalDirection : uint64_t {
+ enum ScrollLogicalDirection : uint8_t {
ScrollBlockDirectionBackward,
ScrollBlockDirectionForward,
ScrollInlineDirectionBackward,
@@ -103,7 +103,7 @@
return ScrollUp;
}
- enum ScrollGranularity : uint64_t {
+ enum ScrollGranularity : uint8_t {
ScrollByLine,
ScrollByPage,
ScrollByDocument,
Modified: trunk/Source/WebCore/replay/WebInputs.json (173033 => 173034)
--- trunk/Source/WebCore/replay/WebInputs.json 2014-08-27 23:24:19 UTC (rev 173033)
+++ trunk/Source/WebCore/replay/WebInputs.json 2014-08-27 23:29:28 UTC (rev 173034)
@@ -67,13 +67,13 @@
"header": "platform/PlatformWheelEvent.h"
},
{
- "name": "PlatformWheelEventGranularity", "mode": "SCALAR", "storage": "uint64_t",
+ "name": "PlatformWheelEventGranularity", "mode": "SCALAR", "storage": "uint8_t",
"flags": ["ENUM"],
"values": ["ScrollByPageWheelEvent", "ScrollByPixelWheelEvent"],
"header": "platform/PlatformWheelEvent.h"
},
{
- "name": "PlatformWheelEventPhase", "mode": "SCALAR", "storage": "uint64_t",
+ "name": "PlatformWheelEventPhase", "mode": "SCALAR", "storage": "uint8_t",
"flags": ["ENUM"],
"guard": "PLATFORM(COCOA)",
"values": [
@@ -92,13 +92,13 @@
"header": "plugins/PluginData.h"
},
{
- "name": "ScrollDirection", "mode": "SCALAR", "storage": "uint64_t",
+ "name": "ScrollDirection", "mode": "SCALAR", "storage": "uint8_t",
"flags": ["ENUM"],
"values": ["ScrollUp", "ScrollDown", "ScrollLeft", "ScrollRight"],
"header": "platform/ScrollTypes.h"
},
{
- "name": "ScrollGranularity", "mode": "SCALAR", "storage": "uint64_t",
+ "name": "ScrollGranularity", "mode": "SCALAR", "storage": "uint8_t",
"flags": ["ENUM"],
"values": [
"ScrollByLine",
@@ -110,7 +110,7 @@
"header": "platform/ScrollTypes.h"
},
{
- "name": "ScrollLogicalDirection", "mode": "SCALAR", "storage": "uint64_t",
+ "name": "ScrollLogicalDirection", "mode": "SCALAR", "storage": "uint8_t",
"flags": ["ENUM"],
"values": [
"ScrollBlockDirectionBackward",