2011-01-12 02:33:03 +01:00
|
|
|
// 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.
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
#ifndef CEF_LIBCEF_EXTERNAL_PROTOCOL_HANDLER_H_
|
|
|
|
#define CEF_LIBCEF_EXTERNAL_PROTOCOL_HANDLER_H_
|
|
|
|
#pragma once
|
2011-01-12 02:33:03 +01:00
|
|
|
|
|
|
|
#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);
|
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
} // namespace ExternalProtocolHandler
|
2011-01-12 02:33:03 +01:00
|
|
|
|
2012-01-10 00:46:23 +01:00
|
|
|
#endif // CEF_LIBCEF_EXTERNAL_PROTOCOL_HANDLER_H_
|