2016-07-20 20:03:38 +02:00
|
|
|
// Copyright (c) 2016 The Chromium 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 CEF_LIBCEF_BROWSER_EXTENSIONS_CHROME_API_REGISTRATION_H_
|
|
|
|
#define CEF_LIBCEF_BROWSER_EXTENSIONS_CHROME_API_REGISTRATION_H_
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
class ExtensionFunctionRegistry;
|
|
|
|
|
2024-01-20 23:48:57 +01:00
|
|
|
namespace extensions::api::cef {
|
2016-07-20 20:03:38 +02:00
|
|
|
|
2017-08-04 00:55:19 +02:00
|
|
|
// Array of currently supported APIs.
|
|
|
|
extern const char* const kSupportedAPIs[];
|
|
|
|
|
2016-07-20 20:03:38 +02:00
|
|
|
class ChromeFunctionRegistry {
|
|
|
|
public:
|
|
|
|
static bool IsSupported(const std::string& name);
|
|
|
|
static void RegisterAll(ExtensionFunctionRegistry* registry);
|
|
|
|
};
|
|
|
|
|
2024-01-20 23:48:57 +01:00
|
|
|
} // namespace extensions::api::cef
|
2016-07-20 20:03:38 +02:00
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_EXTENSIONS_CHROME_API_REGISTRATION_H_
|