summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/webplugin_print_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/plugins/webplugin_print_delegate.cc')
-rw-r--r--webkit/glue/plugins/webplugin_print_delegate.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/webkit/glue/plugins/webplugin_print_delegate.cc b/webkit/glue/plugins/webplugin_print_delegate.cc
new file mode 100644
index 0000000..07bf9b8
--- /dev/null
+++ b/webkit/glue/plugins/webplugin_print_delegate.cc
@@ -0,0 +1,26 @@
+// 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/glue/plugins/webplugin_print_delegate.h"
+
+namespace webkit_glue {
+
+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 webkit_glue