Add HandleProtocolExecution event for unregistered protocols (issue #155).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@163 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2011-01-12 01:33:03 +00:00
parent bf02152631
commit 013c008775
13 changed files with 217 additions and 4 deletions

View File

@ -0,0 +1,22 @@
// Copyright (c) 2011 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#ifndef _EXTERNAL_PROTOCOL_HANDLER_H
#define _EXTERNAL_PROTOCOL_HANDLER_H
#include <string>
class GURL;
namespace ExternalProtocolHandler {
// Returns true if the OS provides external support for the specified |scheme|.
bool HasExternalHandler(const std::string& scheme);
// Pass handling of the specified |gurl| to the OS.
bool HandleExternalProtocol(const GURL& gurl);
} // namespace ExternalProtocolHandler
#endif // _EXTERNAL_PROTOCOL_HANDLER_H