mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
chrome: Add callback for already running app relaunch (fixes #3609)
Adds a new CefBrowserProcessHandler::OnAlreadyRunningAppRelaunch callback for when an already running app is relaunched with the same CefSettings.root_cache_path. Client apps should check the CefInitialize() return value for early exit of the relaunch source process.
This commit is contained in:
@ -15,10 +15,16 @@
|
||||
class CefCommandLineImpl
|
||||
: public CefValueBase<CefCommandLine, base::CommandLine> {
|
||||
public:
|
||||
// If |will_delete=false| make sure to call |std::ignore =
|
||||
// obj->Detach(nullptr);| to invalidate this object when the client should no
|
||||
// longer be accessing it.
|
||||
CefCommandLineImpl(base::CommandLine* value,
|
||||
bool will_delete,
|
||||
bool read_only);
|
||||
|
||||
// Shortcut for |will_delete=false|, |read_only=true|.
|
||||
explicit CefCommandLineImpl(const base::CommandLine& value);
|
||||
|
||||
CefCommandLineImpl(const CefCommandLineImpl&) = delete;
|
||||
CefCommandLineImpl& operator=(const CefCommandLineImpl&) = delete;
|
||||
|
||||
|
Reference in New Issue
Block a user