Bug 135758 - Add scale factor information to long press snapshots. Part of 135257 - Add long mouse press gesture.
Summary: Add scale factor information to long press snapshots. Part of 135257 - Add lo...
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
Depends on: 135707
  Show dependency treegraph
Reported: 2014-08-08 10:33 PDT by Peyton Randolph
Modified: 2014-08-18 11:35 PDT (History)
1 user (show)

See Also:

Patch (9.73 KB, patch)
2014-08-08 10:39 PDT, Peyton Randolph
prandolph: review-
prandolph: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Tim Horton 2014-08-08 14:16:10 PDT
Comment on attachment 236287 [details]

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.