mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-15 11:40:49 +01:00
Add "cef/" prefix for CEF #includes in libcef/ directory. Sort #includes by following https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
29 lines
858 B
C++
29 lines
858 B
C++
// Copyright (c) 2022 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.
|
|
|
|
#ifndef CEF_LIBCEF_BROWSER_PRINTING_PRINT_UTIL_H_
|
|
#define CEF_LIBCEF_BROWSER_PRINTING_PRINT_UTIL_H_
|
|
#pragma once
|
|
|
|
#include "cef/include/cef_browser.h"
|
|
|
|
namespace content {
|
|
class WebContents;
|
|
}
|
|
|
|
namespace print_util {
|
|
|
|
// Called from CefBrowserHostBase::Print.
|
|
void Print(content::WebContents* web_contents, bool print_preview_disabled);
|
|
|
|
// Called from CefBrowserHostBase::PrintToPDF.
|
|
void PrintToPDF(content::WebContents* web_contents,
|
|
const CefString& path,
|
|
const CefPdfPrintSettings& settings,
|
|
CefRefPtr<CefPdfPrintCallback> callback);
|
|
|
|
} // namespace print_util
|
|
|
|
#endif // CEF_LIBCEF_BROWSER_PRINTING_PRINT_UTIL_H_
|