Bug 147298

Summary: Expose TextIndicator-backed snapshot and rect gathering on DOMNode
Product: WebKit Reporter: Tim Horton <thorton>
Component: New BugsAssignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, enrica, mitz, sam, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review+

Description Tim Horton 2015-07-25 16:01:00 PDT
Expose TextIndicator-backed snapshot and rect gathering on DOMNode
Comment 1 Tim Horton 2015-07-25 16:02:05 PDT
Created attachment 257520 [details]
Patch
Comment 2 WebKit Commit Bot 2015-07-25 16:04:45 PDT
Attachment 257520 [details] did not pass style-queue:


ERROR: Source/WebCore/bindings/objc/DOM.mm:564:  The parameter name "image" adds no information, so it should be removed.  [readability/parameter_name] [5]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2015-07-25 16:13:08 PDT
http://trac.webkit.org/changeset/187391
Comment 4 mitz 2015-07-25 16:19:57 PDT
Comment on attachment 257520 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=257520&action=review

> Source/WebCore/bindings/objc/DOMExtensions.h:113
> +- (void)getPreviewSnapshotImage:(CGImageRef*)cgImage andRects:(NSArray **)rects;

Did you mean to add this to the Mac part of the header? This is a public header on Mac, so declarations here requires availability information and some Apple-internal process.
Comment 5 Tim Horton 2015-07-25 16:30:10 PDT
http://trac.webkit.org/changeset/187392
Comment 6 Tim Horton 2015-07-25 17:33:30 PDT
http://trac.webkit.org/changeset/187393