OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/renderer/print_web_view_helper.h" | 5 #include "chrome/renderer/print_web_view_helper.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 using WebKit::WebFrame; | 9 using WebKit::WebFrame; |
10 | 10 |
11 void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) { | 11 void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) { |
12 // TODO(port): print not implemented | 12 // TODO(port): print not implemented |
13 NOTIMPLEMENTED(); | 13 NOTIMPLEMENTED(); |
14 } | 14 } |
15 | 15 |
| 16 void PrintWebViewHelper::PrintPages(const ViewMsg_PrintPages_Params& params, |
| 17 WebKit::WebFrame* frame) { |
| 18 // TODO(port) implement printing |
| 19 NOTIMPLEMENTED(); |
| 20 } |
| 21 |
16 void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params, | 22 void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params, |
17 const gfx::Size& canvas_size, | 23 const gfx::Size& canvas_size, |
18 WebFrame* frame) { | 24 WebFrame* frame) { |
19 // TODO(port) implement printing | 25 // TODO(port) implement printing |
20 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
21 } | 27 } |
22 | 28 |
OLD | NEW |