Allow client to specify EXE file and args to set as default handler
* Optional path param to setAsDefaultProtocolClient * Optional args param to setAsDefaultProtocolClient
This commit is contained in:
parent
420f756c47
commit
e5daf63b0e
4 changed files with 55 additions and 32 deletions
|
@ -76,13 +76,13 @@ class Browser : public WindowListObserver {
|
|||
void SetAppUserModelID(const base::string16& name);
|
||||
|
||||
// Remove the default protocol handler registry key
|
||||
bool RemoveAsDefaultProtocolClient(const std::string& protocol);
|
||||
bool RemoveAsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args);
|
||||
|
||||
// Set as default handler for a protocol.
|
||||
bool SetAsDefaultProtocolClient(const std::string& protocol);
|
||||
bool SetAsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args);
|
||||
|
||||
// Query the current state of default handler for a protocol.
|
||||
bool IsDefaultProtocolClient(const std::string& protocol);
|
||||
bool IsDefaultProtocolClient(const std::string& protocol, mate::Arguments* args);
|
||||
|
||||
// Set/Get the badge count.
|
||||
bool SetBadgeCount(int count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue