WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
223396
Web Inspector: Port grid overlay drawing to iOS
https://bugs.webkit.org/show_bug.cgi?id=223396
Summary
Web Inspector: Port grid overlay drawing to iOS
Patrick Angle
Reported
2021-03-17 13:16:04 PDT
<
rdar://75333290
>
Attachments
Patch v1.0
(48.06 KB, patch)
2021-03-19 14:54 PDT
,
Patrick Angle
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch v1.1 - Add FloatLine.h to Headers.cmake
(48.66 KB, patch)
2021-03-19 15:37 PDT
,
Patrick Angle
no flags
Details
Formatted Diff
Diff
Patch v1.2 - Move new encoders/decoders to InspectorOverlay.h
(47.27 KB, patch)
2021-03-21 16:48 PDT
,
Patrick Angle
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Patrick Angle
Comment 1
2021-03-19 14:54:01 PDT
Created
attachment 423782
[details]
Patch v1.0
Patrick Angle
Comment 2
2021-03-19 15:37:36 PDT
Created
attachment 423788
[details]
Patch v1.1 - Add FloatLine.h to Headers.cmake
Sam Weinig
Comment 3
2021-03-21 10:37:44 PDT
Comment on
attachment 423788
[details]
Patch v1.1 - Add FloatLine.h to Headers.cmake View in context:
https://bugs.webkit.org/attachment.cgi?id=423788&action=review
> Source/WebKit/Shared/WebCoreArgumentCoders.h:500 > +template<> struct ArgumentCoder<WebCore::InspectorOverlay::Highlight::GridHighlightOverlay> { > + static void encode(Encoder&, const WebCore::InspectorOverlay::Highlight::GridHighlightOverlay&); > + static WARN_UNUSED_RETURN bool decode(Decoder&, WebCore::InspectorOverlay::Highlight::GridHighlightOverlay&); > +}; > + > +template<> struct ArgumentCoder<WebCore::InspectorOverlay::Highlight::GridHighlightOverlay::Label> { > + static void encode(Encoder&, const WebCore::InspectorOverlay::Highlight::GridHighlightOverlay::Label&); > + static WARN_UNUSED_RETURN bool decode(Decoder&, WebCore::InspectorOverlay::Highlight::GridHighlightOverlay::Label&); > +}; > + > +template<> struct ArgumentCoder<WebCore::InspectorOverlay::Highlight::GridHighlightOverlay::Area> { > + static void encode(Encoder&, const WebCore::InspectorOverlay::Highlight::GridHighlightOverlay::Area&); > + static WARN_UNUSED_RETURN bool decode(Decoder&, WebCore::InspectorOverlay::Highlight::GridHighlightOverlay::Area&); > +};
Rather than adding new coders here (which we are tying to avoid), please instead add the coders to the files these types are defined in using the generic coding (e.g. template<class Encoder>/template<class Decoder>) pattern.
Patrick Angle
Comment 4
2021-03-21 15:17:54 PDT
Comment on
attachment 423788
[details]
Patch v1.1 - Add FloatLine.h to Headers.cmake View in context:
https://bugs.webkit.org/attachment.cgi?id=423788&action=review
>> Source/WebKit/Shared/WebCoreArgumentCoders.h:500 >> +}; > > Rather than adding new coders here (which we are tying to avoid), please instead add the coders to the files these types are defined in using the generic coding (e.g. template<class Encoder>/template<class Decoder>) pattern.
👍🏻
Patrick Angle
Comment 5
2021-03-21 16:48:57 PDT
Created
attachment 423842
[details]
Patch v1.2 - Move new encoders/decoders to InspectorOverlay.h
Blaze Burg
Comment 6
2021-03-22 12:31:23 PDT
Comment on
attachment 423842
[details]
Patch v1.2 - Move new encoders/decoders to InspectorOverlay.h r=me It's now possible to test the intermediate results of the grid overlay algorithm (HighlightConfig). If you can think of an area of this code that is likely to break, we can write a test for it. This would require helpers to dump the highlight data from WebCore Internals.
EWS
Comment 7
2021-03-22 17:05:49 PDT
Committed
r274822
: <
https://commits.webkit.org/r274822
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 423842
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug