RESOLVED FIXED 190435
[iOS] Add typedef for WebEvent keyboard flags
https://bugs.webkit.org/show_bug.cgi?id=190435
Summary [iOS] Add typedef for WebEvent keyboard flags
Daniel Bates
Reported 2018-10-10 12:12:01 PDT
Segregate WebEvent SPI from UIKit SPI by introducing a typedef for the keyboard flags associated with a WebEvent. This avoids the need for call sites to have knowledge of both WebEvent and UIKit SPI in order to make use of keyboard flags.
Attachments
Patch (6.88 KB, patch)
2018-10-10 12:17 PDT, Daniel Bates
no flags
Patch (3.93 KB, patch)
2018-10-10 15:52 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2018-10-10 12:17:11 PDT
EWS Watchlist
Comment 2 2018-10-10 12:18:55 PDT
Attachment 351980 [details] did not pass style-queue: ERROR: Source/WebCore/platform/ios/WebEvent.h:142: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/ios/WebEvent.h:153: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/ios/WebEvent.h:171: Should have space between @property and attributes. [whitespace/property] [4] ERROR: Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:3811: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 4 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Daniel Bates
Comment 3 2018-10-10 15:52:22 PDT
EWS Watchlist
Comment 4 2018-10-10 15:55:06 PDT
Attachment 351996 [details] did not pass style-queue: ERROR: Source/WebCore/platform/ios/WebEvent.h:142: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/ios/WebEvent.h:153: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Source/WebCore/platform/ios/WebEvent.h:171: Should have space between @property and attributes. [whitespace/property] [4] Total errors found: 3 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Daniel Bates
Comment 5 2018-10-11 13:30:02 PDT
Comment on attachment 351996 [details] Patch Clearing flags on attachment: 351996 Committed r237045: <https://trac.webkit.org/changeset/237045>
Daniel Bates
Comment 6 2018-10-11 13:30:03 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2018-10-11 13:31:36 PDT
Note You need to log in before you can comment on or make changes to this bug.