mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: Support dynamic configuration of the device scale factor with off-screen rendering (issue #1674)
This commit is contained in:
@@ -57,6 +57,7 @@ class OsrWindowWin :
|
||||
void Hide();
|
||||
void SetBounds(int x, int y, size_t width, size_t height);
|
||||
void SetFocus();
|
||||
void SetDeviceScaleFactor(float device_scale_factor);
|
||||
|
||||
private:
|
||||
// Only allow deletion via scoped_refptr.
|
||||
@@ -156,6 +157,7 @@ class OsrWindowWin :
|
||||
HGLRC hrc_;
|
||||
|
||||
RECT client_rect_;
|
||||
float device_scale_factor_;
|
||||
|
||||
CefRefPtr<CefBrowser> browser_;
|
||||
|
||||
|
Reference in New Issue
Block a user