| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/printing/renderer/print_web_view_helper.h" | 5 #include "components/printing/renderer/print_web_view_helper.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include "base/logging.h" | 10 #include "base/logging.h" |
| 8 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/process/process_handle.h" | 12 #include "base/process/process_handle.h" |
| 10 #include "components/printing/common/print_messages.h" | 13 #include "components/printing/common/print_messages.h" |
| 11 #include "content/public/renderer/render_thread.h" | 14 #include "content/public/renderer/render_thread.h" |
| 12 #include "printing/metafile_skia_wrapper.h" | 15 #include "printing/metafile_skia_wrapper.h" |
| 13 #include "printing/page_size_margins.h" | 16 #include "printing/page_size_margins.h" |
| 14 #include "printing/pdf_metafile_skia.h" | 17 #include "printing/pdf_metafile_skia.h" |
| 15 #include "printing/units.h" | 18 #include "printing/units.h" |
| 16 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 19 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 shared_mem_handle)) { | 189 shared_mem_handle)) { |
| 187 return false; | 190 return false; |
| 188 } | 191 } |
| 189 | 192 |
| 190 Send(new PrintHostMsg_DuplicateSection(routing_id(), *shared_mem_handle, | 193 Send(new PrintHostMsg_DuplicateSection(routing_id(), *shared_mem_handle, |
| 191 shared_mem_handle)); | 194 shared_mem_handle)); |
| 192 return true; | 195 return true; |
| 193 } | 196 } |
| 194 | 197 |
| 195 } // namespace printing | 198 } // namespace printing |
| OLD | NEW |