1 // Copyright 2015 The Chromium Embedded Framework Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be found 3 // in the LICENSE file. 4 5 #ifndef CEF_LIBCEF_COMMON_EXTENSIONS_EXTENSIONS_UTIL_H_ 6 #define CEF_LIBCEF_COMMON_EXTENSIONS_EXTENSIONS_UTIL_H_ 7 8 namespace extensions { 9 10 // Returns true if extensions have not been disabled via the command-line. 11 bool ExtensionsEnabled(); 12 13 // Returns true if the PDF extension has not been disabled via the command-line. 14 bool PdfExtensionEnabled(); 15 16 // Returns true if Print Preview has been enabled via the command-line. 17 bool PrintPreviewEnabled(); 18 19 } // namespace extensions 20 21 #endif // CEF_LIBCEF_COMMON_EXTENSIONS_EXTENSIONS_UTIL_H_ 22