Revert "Fix broken channel icon in chrome://help on CrOS" and try again
[chromium-blink-merge.git] / android_webview / renderer / aw_print_web_view_helper_delegate.h
blob6d9eac58e33cd530271639772495c57b7208cd91
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 ANDROID_WEBVIEW_RENDERER_AW_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
6 #define ANDROID_WEBVIEW_RENDERER_AW_PRINT_WEB_VIEW_HELPER_DELEGATE_H_
8 #include "components/printing/renderer/print_web_view_helper.h"
10 namespace android_webview {
12 class AwPrintWebViewHelperDelegate
13 : public printing::PrintWebViewHelper::Delegate {
14 public:
15 ~AwPrintWebViewHelperDelegate() override;
16 bool CancelPrerender(content::RenderView* render_view,
17 int routing_id) override;
18 blink::WebElement GetPdfElement(blink::WebLocalFrame* frame) override;
19 bool IsPrintPreviewEnabled() override;
20 bool IsAskPrintSettingsEnabled() override;
21 bool IsScriptedPrintEnabled() override;
22 bool OverridePrint(blink::WebLocalFrame* frame) override;
23 }; // class AwPrintWebViewHelperDelegate
25 } // namespace android_webview
27 #endif // ANDROID_WEBVIEW_RENDERER_AW_PRINT_WEB_VIEW_HELPER_DELEGATE_H_