| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/file_util.h" | 5 #include "base/file_util.h" |
| 6 #include "chrome/renderer/print_web_view_helper.h" | 6 #include "chrome/renderer/print_web_view_helper.h" |
| 7 #include "chrome/test/render_view_test.h" | 7 #include "chrome/test/render_view_test.h" |
| 8 #include "printing/image.h" | 8 #include "printing/image.h" |
| 9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 FilePath source_path; | 193 FilePath source_path; |
| 194 file_util::CreateTemporaryFile(&source_path); | 194 file_util::CreateTemporaryFile(&source_path); |
| 195 render_thread_.printer()->SaveSource(0, source_path); | 195 render_thread_.printer()->SaveSource(0, source_path); |
| 196 | 196 |
| 197 FilePath bitmap_path; | 197 FilePath bitmap_path; |
| 198 file_util::CreateTemporaryFile(&bitmap_path); | 198 file_util::CreateTemporaryFile(&bitmap_path); |
| 199 render_thread_.printer()->SaveBitmap(0, bitmap_path); | 199 render_thread_.printer()->SaveBitmap(0, bitmap_path); |
| 200 } | 200 } |
| 201 } | 201 } |
| 202 } | 202 } |
| 203 #endif | 203 #endif |
| OLD | NEW |