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

Side by Side Diff: printing/printed_document.cc

Issue 1462163002: Move uncoupled code out of skia/ext/platform_device.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no-draft-metadata
Patch Set: Trim superfluous SK_API Created 5 years 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
« no previous file with comments | « printing/metafile_skia_wrapper.cc ('k') | skia/ext/platform_canvas.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "printing/printed_document.h" 5 #include "printing/printed_document.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
23 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
24 #include "base/strings/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
25 #include "base/time/time.h" 25 #include "base/time/time.h"
26 #include "base/values.h" 26 #include "base/values.h"
27 #include "printing/page_number.h" 27 #include "printing/page_number.h"
28 #include "printing/print_settings_conversion.h" 28 #include "printing/print_settings_conversion.h"
29 #include "printing/printed_page.h" 29 #include "printing/printed_page.h"
30 #include "printing/printed_pages_source.h" 30 #include "printing/printed_pages_source.h"
31 #include "printing/units.h" 31 #include "printing/units.h"
32 #include "skia/ext/platform_device.h"
33 #include "ui/gfx/font.h" 32 #include "ui/gfx/font.h"
34 #include "ui/gfx/text_elider.h" 33 #include "ui/gfx/text_elider.h"
35 34
36 namespace printing { 35 namespace printing {
37 36
38 namespace { 37 namespace {
39 38
40 base::LazyInstance<base::FilePath> g_debug_dump_info = 39 base::LazyInstance<base::FilePath> g_debug_dump_info =
41 LAZY_INSTANCE_INITIALIZER; 40 LAZY_INSTANCE_INITIALIZER;
42 41
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 263 }
265 264
266 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) 265 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
267 // This function is not used on aura linux/chromeos or android. 266 // This function is not used on aura linux/chromeos or android.
268 void PrintedDocument::RenderPrintedPage(const PrintedPage& page, 267 void PrintedDocument::RenderPrintedPage(const PrintedPage& page,
269 PrintingContext* context) const { 268 PrintingContext* context) const {
270 } 269 }
271 #endif 270 #endif
272 271
273 } // namespace printing 272 } // namespace printing
OLDNEW
« no previous file with comments | « printing/metafile_skia_wrapper.cc ('k') | skia/ext/platform_canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698