2015-07-16 23:40:01 +02:00
|
|
|
// Copyright 2015 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_RENDERER_EXTENSIONS_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
|
|
|
|
#define CEF_LIBCEF_RENDERER_EXTENSIONS_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
|
|
|
|
|
|
|
|
#include "components/printing/renderer/print_web_view_helper.h"
|
|
|
|
|
|
|
|
namespace extensions {
|
|
|
|
|
|
|
|
class CefPrintWebViewHelperDelegate
|
|
|
|
: public printing::PrintWebViewHelper::Delegate {
|
|
|
|
public:
|
|
|
|
~CefPrintWebViewHelperDelegate() override;
|
|
|
|
|
2016-11-23 21:54:29 +01:00
|
|
|
bool CancelPrerender(content::RenderFrame* render_frame) override;
|
2015-07-16 23:40:01 +02:00
|
|
|
blink::WebElement GetPdfElement(blink::WebLocalFrame* frame) override;
|
|
|
|
bool IsPrintPreviewEnabled() override;
|
|
|
|
bool OverridePrint(blink::WebLocalFrame* frame) override;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace extensions
|
|
|
|
|
|
|
|
#endif // CEF_LIBCEF_RENDERER_EXTENSIONS_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
|