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:
@@ -15,6 +15,13 @@ BrowserWindow::BrowserWindow(Delegate* delegate)
|
||||
DCHECK(delegate_);
|
||||
}
|
||||
|
||||
void BrowserWindow::SetDeviceScaleFactor(float device_scale_factor) {
|
||||
}
|
||||
|
||||
float BrowserWindow::GetDeviceScaleFactor() const {
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
CefRefPtr<CefBrowser> BrowserWindow::GetBrowser() const {
|
||||
REQUIRE_MAIN_THREAD();
|
||||
return browser_;
|
||||
|
Reference in New Issue
Block a user