| 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; |
| 10 |
| 9 void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) { | 11 void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) { |
| 10 // TODO(port): print not implemented | 12 // TODO(port): print not implemented |
| 11 NOTIMPLEMENTED(); | 13 NOTIMPLEMENTED(); |
| 12 } | 14 } |
| 13 | 15 |
| 14 void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params, | 16 void PrintWebViewHelper::PrintPage(const ViewMsg_PrintPage_Params& params, |
| 15 const gfx::Size& canvas_size, | 17 const gfx::Size& canvas_size, |
| 16 WebFrame* frame) { | 18 WebFrame* frame) { |
| 17 // TODO(port) implement printing | 19 // TODO(port) implement printing |
| 18 NOTIMPLEMENTED(); | 20 NOTIMPLEMENTED(); |
| 19 } | 21 } |
| 20 | 22 |
| OLD | NEW |