Roll src/third_party/WebKit eac3800:0237a66 (svn 202606:202607)
[chromium-blink-merge.git] / chrome / renderer / printing / chrome_print_web_view_helper_delegate.h
blobdae1adea1860216ff4d06733f5018f05fde01080
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.
5 #ifndef CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
6 #define CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
8 #include "components/printing/renderer/print_web_view_helper.h"
10 class ChromePrintWebViewHelperDelegate
11 : public printing::PrintWebViewHelper::Delegate {
12 public:
13 ~ChromePrintWebViewHelperDelegate() override;
15 bool CancelPrerender(content::RenderView* render_view,
16 int routing_id) override;
18 blink::WebElement GetPdfElement(blink::WebLocalFrame* frame) override;
20 bool IsPrintPreviewEnabled() override;
22 bool OverridePrint(blink::WebLocalFrame* frame) override;
23 }; // class ChromePrintWebViewHelperDelegate
25 #endif // CHROME_RENDERER_PRINTING_CHROME_PRINT_WEB_VIEW_HELPER_DELEGATE_H_