1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33

android_webview / renderer / aw_print_render_frame_helper_delegate.cc [blame]

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "android_webview/renderer/aw_print_render_frame_helper_delegate.h"

#include "third_party/blink/public/web/web_element.h"

namespace android_webview {

AwPrintRenderFrameHelperDelegate::AwPrintRenderFrameHelperDelegate() = default;

AwPrintRenderFrameHelperDelegate::~AwPrintRenderFrameHelperDelegate() = default;

blink::WebElement AwPrintRenderFrameHelperDelegate::GetPdfElement(
    blink::WebLocalFrame* frame) {
  return blink::WebElement();
}

bool AwPrintRenderFrameHelperDelegate::IsPrintPreviewEnabled() {
  return false;
}

bool AwPrintRenderFrameHelperDelegate::IsScriptedPrintEnabled() {
  return false;
}

bool AwPrintRenderFrameHelperDelegate::OverridePrint(
    blink::WebLocalFrame* frame) {
  return false;
}

}  // namespace android_webview