mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
cefclient: Add RootWindowManager tracking of other browsers (see #3790)
The message loop should not quit until all browsers have closed, including browsers that are not directly associated with a RootWindow.
This commit is contained in:
@@ -103,7 +103,13 @@ class BaseClientHandler : public CefClient,
|
||||
return resource_manager_;
|
||||
}
|
||||
|
||||
void set_track_as_other_browser(bool val) { track_as_other_browser_ = val; }
|
||||
|
||||
private:
|
||||
// True if this handler should call
|
||||
// RootWindowManager::OtherBrowser[Created|Closed].
|
||||
bool track_as_other_browser_ = true;
|
||||
|
||||
// The current number of browsers using this handler.
|
||||
int browser_count_ = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user