Also, with the enum class scoping it can be moved outside of the PlatformEvent class to keep the same level of qualification. I have a patch for this, which I'll rebase this weekend.
Created attachment 222971 [details] EWS round one fight
Attachment 222971 [details] did not pass style-queue: ERROR: Source/WebCore/page/DragController.cpp:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1645: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] ERROR: Source/WebCore/dom/KeyboardEvent.cpp:39: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Total errors found: 3 in 50 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 222996 [details] EWS round two fight
Attachment 222996 [details] did not pass style-queue: ERROR: Source/WebCore/page/DragController.cpp:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1645: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Total errors found: 2 in 50 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 223003 [details] round 3
Attachment 223003 [details] did not pass style-queue: ERROR: Source/WebCore/page/DragController.cpp:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1645: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] Total errors found: 2 in 50 files If any of these errors are false positives, please file a bug against check-webkit-style.
Patch looks OK, but I actually prefer PlatformEvent::Type::Foo.
(In reply to comment #7) > Patch looks OK, but I actually prefer PlatformEvent::Type::Foo. I can switch back if that's the preferred style here. I had originally moved it outside the class so it could be forward declared.