Add API: IsDefaultProtocolClient

This commit is contained in:
Rita Zhang 2016-04-24 22:17:01 -07:00
parent 7b8a05f01f
commit df2141d9e6
6 changed files with 91 additions and 0 deletions

View file

@ -82,6 +82,9 @@ class Browser : public WindowListObserver {
// Set as default handler for a protocol.
bool SetAsDefaultProtocolClient(const std::string& protocol);
// Query the current state of default handler for a protocol.
bool IsDefaultProtocolClient(const std::string& protocol);
#if defined(OS_MACOSX)
// Hide the application.
void Hide();