Change CefWindowInfo::SetAsChild to use CefRect on all platforms

Issue #1515 resolved
Marshall Greenblatt created an issue

Original issue 1515 created by magreenblatt on 2015-01-29T23:49:48.000Z:

The CefWindowInfo::SetAsChild signature is currently different on each platform.

Windows (include/internal/cef_win.h):
void SetAsChild(CefWindowHandle parent, RECT windowRect)

Linux (include/internal/cef_linux.h):
void SetAsChild(CefWindowHandle parent, const CefRect& windowRect)

OS X (include/internal/cef_mac.h):
void SetAsChild(CefWindowHandle parent, int x, int y, int width, int height)

It would be nice to standardize these definitions by using the CefRect type on all platforms.

Comments (5)

  1. Log in to comment