• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2015 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_PDF_EXTENSION_UTIL_H_
6 #define CEF_LIBCEF_BROWSER_EXTENSIONS_PDF_EXTENSION_UTIL_H_
7 
8 #include <string>
9 
10 namespace extensions {
11 namespace pdf_extension_util {
12 
13 // The ResourceIdentifier for the PDF Viewer plugin.
14 extern const char kPdfResourceIdentifier[];
15 
16 // The name of the PDF Viewer plugin.
17 extern const char kPdfPluginName[];
18 
19 // Return the extensions manifest for PDF. The manifest is loaded from
20 // browser_resources.grd and certain fields are replaced based on what chrome
21 // flags are enabled.
22 std::string GetManifest();
23 
24 }  // namespace pdf_extension_util
25 }  // namespace extensions
26 
27 #endif  // CEF_LIBCEF_BROWSER_EXTENSIONS_PDF_EXTENSION_UTIL_H_
28