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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "build/build_config.h"
9 #include "components/printing/common/print_messages.h" 12 #include "components/printing/common/print_messages.h"
10 #include "content/public/renderer/render_thread.h" 13 #include "content/public/renderer/render_thread.h"
11 #include "printing/metafile_skia_wrapper.h" 14 #include "printing/metafile_skia_wrapper.h"
12 #include "printing/page_size_margins.h" 15 #include "printing/page_size_margins.h"
13 #include "printing/pdf_metafile_skia.h" 16 #include "printing/pdf_metafile_skia.h"
14 #include "third_party/WebKit/public/web/WebLocalFrame.h" 17 #include "third_party/WebKit/public/web/WebLocalFrame.h"
15 18
16 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) 19 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
17 #include "base/file_descriptor_posix.h" 20 #include "base/file_descriptor_posix.h"
18 #else 21 #else
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 154
152 RenderPageContent(frame, params.page_number, canvas_area, content_area, 155 RenderPageContent(frame, params.page_number, canvas_area, content_area,
153 scale_factor, canvas); 156 scale_factor, canvas);
154 157
155 // Done printing. Close the canvas to retrieve the compiled metafile. 158 // Done printing. Close the canvas to retrieve the compiled metafile.
156 if (!metafile->FinishPage()) 159 if (!metafile->FinishPage())
157 NOTREACHED() << "metafile failed"; 160 NOTREACHED() << "metafile failed";
158 } 161 }
159 162
160 } // namespace printing 163 } // namespace printing
OLDNEW
« no previous file with comments | « components/printing/renderer/print_web_view_helper.cc ('k') | components/printing/renderer/print_web_view_helper_pdf_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698