| 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 "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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |