Bug 164634 - Remove pointer lock CG calls from WebPageProxy.cpp and WebChromeClient.mm
Summary: Remove pointer lock CG calls from WebPageProxy.cpp and WebChromeClient.mm
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jeremy Jones
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 22:29 PST by Jeremy Jones
Modified: 2016-11-10 22:29 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Jones 2016-11-10 22:29:29 PST
WebPageProxy.cpp and WebChromeClient.mm have CG calls for pointer lock on Mac.

    CGDisplayHideCursor(CGMainDisplayID());
    CGAssociateMouseAndMouseCursorPosition(false);
    CGAssociateMouseAndMouseCursorPosition(true);
    CGDisplayShowCursor(CGMainDisplayID());

Move these to a platform specific manager class in WebCore to be used by WK1 and WK2.