Prevent crash in UpdateClient when passed an empty list of ids
[chromium-blink-merge.git] / android_webview / renderer / aw_print_web_view_helper_delegate.cc
blob517766a8a7c15df7f32f8072ff079cf4c0665ed7
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 #include "android_webview/renderer/aw_print_web_view_helper_delegate.h"
7 #include "third_party/WebKit/public/web/WebElement.h"
9 namespace android_webview {
11 AwPrintWebViewHelperDelegate::~AwPrintWebViewHelperDelegate(){
14 bool AwPrintWebViewHelperDelegate::CancelPrerender(
15 content::RenderView* render_view, int routing_id) {
16 return false;
19 blink::WebElement AwPrintWebViewHelperDelegate::GetPdfElement(
20 blink::WebLocalFrame* frame) {
21 return blink::WebElement();
24 bool AwPrintWebViewHelperDelegate::IsPrintPreviewEnabled() {
25 return false;
28 bool AwPrintWebViewHelperDelegate::IsAskPrintSettingsEnabled() {
29 return false;
32 bool AwPrintWebViewHelperDelegate::IsScriptedPrintEnabled() {
33 return false;
36 bool AwPrintWebViewHelperDelegate::OverridePrint(blink::WebLocalFrame* frame) {
37 return false;
40 } // namespace android_webview