summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/webplugin_print_delegate.cc
blob: a90170b55c98ce7532c00c8a7d36c55d59d81ddc (plain)
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
// Copyright (c) 2010 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.

#include "webkit/plugins/npapi/webplugin_print_delegate.h"

namespace webkit {
namespace npapi {

bool WebPluginPrintDelegate::PrintSupportsPrintExtension() {
  return false;
}

int WebPluginPrintDelegate::PrintBegin(const gfx::Rect& printable_area,
                                       int printer_dpi) {
  return 0;
}

bool WebPluginPrintDelegate::PrintPage(int page_number,
                                       WebKit::WebCanvas* canvas) {
  return false;
}

void WebPluginPrintDelegate::PrintEnd() {
}

}  // namespace npapi
}  // namespace webkit