mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 121.0.6167.0 (#1233107)
This commit is contained in:
@ -421,13 +421,11 @@ api::tabs::Tab CefExtensionFunctionDetails::CreateTabObject(
|
||||
int index) const {
|
||||
content::WebContents* contents = new_browser->web_contents();
|
||||
|
||||
bool is_loading = contents->IsLoading();
|
||||
api::tabs::Tab tab_object;
|
||||
tab_object.id = new_browser->GetIdentifier();
|
||||
tab_object.index = index;
|
||||
tab_object.window_id = *tab_object.id;
|
||||
tab_object.status = is_loading ? api::tabs::TAB_STATUS_LOADING
|
||||
: api::tabs::TAB_STATUS_COMPLETE;
|
||||
tab_object.status = ExtensionTabUtil::GetLoadingStatus(contents);
|
||||
tab_object.active = active;
|
||||
tab_object.selected = true;
|
||||
tab_object.highlighted = true;
|
||||
|
Reference in New Issue
Block a user