• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CEF_LIBCEF_BROWSER_EXTENSIONS_CHROME_API_REGISTRATION_H_
6 #define CEF_LIBCEF_BROWSER_EXTENSIONS_CHROME_API_REGISTRATION_H_
7 
8 #include <string>
9 
10 class ExtensionFunctionRegistry;
11 
12 namespace extensions {
13 namespace api {
14 namespace cef {
15 
16 // Array of currently supported APIs.
17 extern const char* const kSupportedAPIs[];
18 
19 class ChromeFunctionRegistry {
20  public:
21   static bool IsSupported(const std::string& name);
22   static void RegisterAll(ExtensionFunctionRegistry* registry);
23 };
24 
25 }  // namespace cef
26 }  // namespace api
27 }  // namespace extensions
28 
29 #endif  // CEF_LIBCEF_BROWSER_EXTENSIONS_CHROME_API_REGISTRATION_H_
30