Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: components/printing/renderer/print_web_view_helper_pdf_win.cc

Issue 811563008: Moving files from //chrome to //components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fix Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "chrome/renderer/printing/print_web_view_helper.h" 5 #include "components/printing/renderer/print_web_view_helper.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process/process_handle.h" 9 #include "base/process/process_handle.h"
10 #include "chrome/common/print_messages.h" 10 #include "components/printing/common/print_messages.h"
11 #include "content/public/renderer/render_thread.h" 11 #include "content/public/renderer/render_thread.h"
12 #include "printing/metafile_skia_wrapper.h" 12 #include "printing/metafile_skia_wrapper.h"
13 #include "printing/page_size_margins.h" 13 #include "printing/page_size_margins.h"
14 #include "printing/pdf_metafile_skia.h" 14 #include "printing/pdf_metafile_skia.h"
15 #include "printing/units.h" 15 #include "printing/units.h"
16 #include "skia/ext/platform_device.h" 16 #include "skia/ext/platform_device.h"
17 #include "skia/ext/vector_canvas.h" 17 #include "skia/ext/vector_canvas.h"
18 #include "third_party/WebKit/public/web/WebLocalFrame.h" 18 #include "third_party/WebKit/public/web/WebLocalFrame.h"
19 19
20 20
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 224 }
225 shared_buf.GiveToProcess(base::GetCurrentProcessHandle(), shared_mem_handle); 225 shared_buf.GiveToProcess(base::GetCurrentProcessHandle(), shared_mem_handle);
226 shared_buf.Unmap(); 226 shared_buf.Unmap();
227 227
228 Send(new PrintHostMsg_DuplicateSection(routing_id(), *shared_mem_handle, 228 Send(new PrintHostMsg_DuplicateSection(routing_id(), *shared_mem_handle,
229 shared_mem_handle)); 229 shared_mem_handle));
230 return true; 230 return true;
231 } 231 }
232 232
233 } // namespace printing 233 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698