osr: Support DevTools windows with Chrome runtime Alloy style (see #3681)

This commit is contained in:
Marshall Greenblatt
2024-05-20 16:21:37 -04:00
parent 6da73a3d31
commit 99c85e32ac
4 changed files with 53 additions and 0 deletions

View File

@ -21,6 +21,10 @@ bool GetAlloyTabById(int tab_id,
bool include_incognito,
content::WebContents** contents);
// Returns true if |contents| is owned by an Alloy style CefBrowserHost.
// If |primary_only| is false then guest contents will also be matched.
bool IsAlloyContents(content::WebContents* contents, bool primary_only);
} // namespace cef
#endif // CEF_LIBCEF_BROWSER_CHROME_EXTENSIONS_CHROME_EXTENSION_UTIL_H_