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:
@@ -103,6 +103,14 @@ class RootWindow :
|
||||
// executed.
|
||||
virtual void Close(bool force) = 0;
|
||||
|
||||
// Set the device scale factor. Only used in combination with off-screen
|
||||
// rendering.
|
||||
virtual void SetDeviceScaleFactor(float device_scale_factor) = 0;
|
||||
|
||||
// Returns the device scale factor. Only used in combination with off-screen
|
||||
// rendering.
|
||||
virtual float GetDeviceScaleFactor() const = 0;
|
||||
|
||||
// Returns the browser that this window contains, if any.
|
||||
virtual CefRefPtr<CefBrowser> GetBrowser() const = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user