OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/plugins/npapi/webplugin_print_delegate.h" | 5 #include "webkit/glue/plugins/webplugin_print_delegate.h" |
6 | 6 |
7 namespace webkit { | 7 namespace webkit_glue { |
8 namespace npapi { | |
9 | 8 |
10 bool WebPluginPrintDelegate::PrintSupportsPrintExtension() { | 9 bool WebPluginPrintDelegate::PrintSupportsPrintExtension() { |
11 return false; | 10 return false; |
12 } | 11 } |
13 | 12 |
14 int WebPluginPrintDelegate::PrintBegin(const gfx::Rect& printable_area, | 13 int WebPluginPrintDelegate::PrintBegin(const gfx::Rect& printable_area, |
15 int printer_dpi) { | 14 int printer_dpi) { |
16 return 0; | 15 return 0; |
17 } | 16 } |
18 | 17 |
19 bool WebPluginPrintDelegate::PrintPage(int page_number, | 18 bool WebPluginPrintDelegate::PrintPage(int page_number, |
20 WebKit::WebCanvas* canvas) { | 19 WebKit::WebCanvas* canvas) { |
21 return false; | 20 return false; |
22 } | 21 } |
23 | 22 |
24 void WebPluginPrintDelegate::PrintEnd() { | 23 void WebPluginPrintDelegate::PrintEnd() { |
25 } | 24 } |
26 | 25 |
27 } // namespace npapi | 26 } // namespace webkit_glue |
28 } // namespace webkit | |
OLD | NEW |