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

Side by Side Diff: chrome/browser/printing/printed_document.cc

Issue 113169: Move win_util.h from common to app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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 | « chrome/browser/plugin_process_host.cc ('k') | chrome/browser/process_singleton_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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/browser/printing/printed_document.h" 5 #include "chrome/browser/printing/printed_document.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "app/gfx/chrome_font.h" 9 #include "app/gfx/chrome_font.h"
10 #include "app/gfx/text_elider.h" 10 #include "app/gfx/text_elider.h"
11 #include "app/win_util.h"
11 #include "base/message_loop.h" 12 #include "base/message_loop.h"
12 #include "base/time.h" 13 #include "base/time.h"
13 #include "chrome/browser/printing/page_number.h" 14 #include "chrome/browser/printing/page_number.h"
14 #include "chrome/browser/printing/page_overlays.h" 15 #include "chrome/browser/printing/page_overlays.h"
15 #include "chrome/browser/printing/printed_pages_source.h" 16 #include "chrome/browser/printing/printed_pages_source.h"
16 #include "chrome/browser/printing/printed_page.h" 17 #include "chrome/browser/printing/printed_page.h"
17 #include "chrome/common/gfx/emf.h" 18 #include "chrome/common/gfx/emf.h"
18 #include "chrome/common/time_format.h" 19 #include "chrome/common/time_format.h"
19 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
20 #include "chrome/common/win_util.h"
21 #include "printing/units.h" 21 #include "printing/units.h"
22 #include "skia/ext/platform_device.h" 22 #include "skia/ext/platform_device.h"
23 23
24 using base::Time; 24 using base::Time;
25 25
26 namespace printing { 26 namespace printing {
27 27
28 PrintedDocument::PrintedDocument(const PrintSettings& settings, 28 PrintedDocument::PrintedDocument(const PrintSettings& settings,
29 PrintedPagesSource* source, 29 PrintedPagesSource* source,
30 int cookie) 30 int cookie)
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 date_ = win_util::FormatSystemDate(systemtime, std::wstring()); 371 date_ = win_util::FormatSystemDate(systemtime, std::wstring());
372 time_ = win_util::FormatSystemTime(systemtime, std::wstring()); 372 time_ = win_util::FormatSystemTime(systemtime, std::wstring());
373 #else 373 #else
374 Time now = Time::Now(); 374 Time now = Time::Now();
375 date_ = TimeFormat::ShortDateNumeric(now); 375 date_ = TimeFormat::ShortDateNumeric(now);
376 time_ = TimeFormat::TimeOfDay(now); 376 time_ = TimeFormat::TimeOfDay(now);
377 #endif // WIN32 377 #endif // WIN32
378 } 378 }
379 379
380 } // namespace printing 380 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/plugin_process_host.cc ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698