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

Side by Side Diff: printing/printed_document.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « gfx/gfx.gyp ('k') | printing/printed_document_win.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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>
11 11
12 #include "app/gfx/font.h"
13 #include "app/text_elider.h" 12 #include "app/text_elider.h"
14 #include "base/file_util.h" 13 #include "base/file_util.h"
15 #include "base/i18n/file_util_icu.h" 14 #include "base/i18n/file_util_icu.h"
16 #include "base/message_loop.h" 15 #include "base/message_loop.h"
17 #include "base/singleton.h" 16 #include "base/singleton.h"
18 #include "base/string_util.h" 17 #include "base/string_util.h"
19 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
20 #include "base/time.h" 19 #include "base/time.h"
21 #include "base/i18n/time_formatting.h" 20 #include "base/i18n/time_formatting.h"
21 #include "gfx/font.h"
22 #include "printing/page_number.h" 22 #include "printing/page_number.h"
23 #include "printing/page_overlays.h" 23 #include "printing/page_overlays.h"
24 #include "printing/printed_pages_source.h" 24 #include "printing/printed_pages_source.h"
25 #include "printing/printed_page.h" 25 #include "printing/printed_page.h"
26 #include "printing/units.h" 26 #include "printing/units.h"
27 #include "skia/ext/platform_device.h" 27 #include "skia/ext/platform_device.h"
28 28
29 #if defined(OS_WIN) 29 #if defined(OS_WIN)
30 #include "app/win_util.h" 30 #include "app/win_util.h"
31 #endif 31 #endif
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 date_ = win_util::FormatSystemDate(systemtime, std::wstring()); 318 date_ = win_util::FormatSystemDate(systemtime, std::wstring());
319 time_ = win_util::FormatSystemTime(systemtime, std::wstring()); 319 time_ = win_util::FormatSystemTime(systemtime, std::wstring());
320 #else // OS_WIN 320 #else // OS_WIN
321 Time now = Time::Now(); 321 Time now = Time::Now();
322 date_ = base::TimeFormatShortDateNumeric(now); 322 date_ = base::TimeFormatShortDateNumeric(now);
323 time_ = base::TimeFormatTimeOfDay(now); 323 time_ = base::TimeFormatTimeOfDay(now);
324 #endif // OS_WIN 324 #endif // OS_WIN
325 } 325 }
326 326
327 } // namespace printing 327 } // namespace printing
OLDNEW
« no previous file with comments | « gfx/gfx.gyp ('k') | printing/printed_document_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698