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/glue/plugins/webplugin_print_delegate.h" | 5 #include "webkit/plugins/npapi/webplugin_print_delegate.h" |
6 | 6 |
7 namespace webkit_glue { | 7 namespace webkit { |
| 8 namespace npapi { |
8 | 9 |
9 bool WebPluginPrintDelegate::PrintSupportsPrintExtension() { | 10 bool WebPluginPrintDelegate::PrintSupportsPrintExtension() { |
10 return false; | 11 return false; |
11 } | 12 } |
12 | 13 |
13 int WebPluginPrintDelegate::PrintBegin(const gfx::Rect& printable_area, | 14 int WebPluginPrintDelegate::PrintBegin(const gfx::Rect& printable_area, |
14 int printer_dpi) { | 15 int printer_dpi) { |
15 return 0; | 16 return 0; |
16 } | 17 } |
17 | 18 |
18 bool WebPluginPrintDelegate::PrintPage(int page_number, | 19 bool WebPluginPrintDelegate::PrintPage(int page_number, |
19 WebKit::WebCanvas* canvas) { | 20 WebKit::WebCanvas* canvas) { |
20 return false; | 21 return false; |
21 } | 22 } |
22 | 23 |
23 void WebPluginPrintDelegate::PrintEnd() { | 24 void WebPluginPrintDelegate::PrintEnd() { |
24 } | 25 } |
25 | 26 |
26 } // namespace webkit_glue | 27 } // namespace npapi |
| 28 } // namespace webkit |
OLD | NEW |