Bug 135758

Summary: Add scale factor information to long press snapshots. Part of 135257 - Add long mouse press gesture.
Product: WebKit Reporter: Peyton Randolph <prandolph>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 135707    
Bug Blocks:    
Attachments:
Description Flags
Patch prandolph: review-, prandolph: commit-queue-

Description Peyton Randolph 2014-08-08 10:33:51 PDT
It would be helpful to have information about the scale factor of an element snapshot provided for a long press. That way the client can properly scale the resulting snapshot.
Comment 1 Peyton Randolph 2014-08-08 10:39:12 PDT
Created attachment 236287 [details]
Patch
Comment 2 Tim Horton 2014-08-08 14:16:10 PDT
Comment on attachment 236287 [details]
Patch

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

> Source/WebKit2/WebProcess/WebPage/LongMousePressController.cpp:141
> +    graphicsContext->setShouldAntialias(true);
> +    graphicsContext->setShouldSmoothFonts(true);

Ohreally? I don't think you meant this to be here.