mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
views: Add support for absolute positioned overlay views.
To test: Run `cefclient.exe --use-views --hide-frame --hide-controls` Add `--enable-chrome-runtime` for the same behavior using the Chrome location bar instead of a text field.
This commit is contained in:
@@ -341,7 +341,7 @@ void RootWindowViews::OnSetAddress(const std::string& url) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (window_ && config_->with_controls)
|
||||
if (window_)
|
||||
window_->SetAddress(url);
|
||||
}
|
||||
|
||||
@@ -420,8 +420,7 @@ void RootWindowViews::OnSetLoadingState(bool isLoading,
|
||||
}
|
||||
|
||||
if (window_) {
|
||||
if (config_->with_controls)
|
||||
window_->SetLoadingState(isLoading, canGoBack, canGoForward);
|
||||
window_->SetLoadingState(isLoading, canGoBack, canGoForward);
|
||||
|
||||
if (isLoading) {
|
||||
// Reset to the default window icon when loading begins.
|
||||
|
Reference in New Issue
Block a user