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

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

Issue 21475: Move units to new module printing. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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) 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 "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "printing/units.h"
brettw 2009/02/20 17:22:05 Move down so it's in order.
11 #include "chrome/browser/printing/page_number.h" 12 #include "chrome/browser/printing/page_number.h"
12 #include "chrome/browser/printing/page_overlays.h" 13 #include "chrome/browser/printing/page_overlays.h"
13 #include "chrome/browser/printing/printed_pages_source.h" 14 #include "chrome/browser/printing/printed_pages_source.h"
14 #include "chrome/browser/printing/printed_page.h" 15 #include "chrome/browser/printing/printed_page.h"
15 #include "chrome/browser/printing/units.h"
16 #include "chrome/common/gfx/chrome_font.h" 16 #include "chrome/common/gfx/chrome_font.h"
17 #include "chrome/common/gfx/emf.h" 17 #include "chrome/common/gfx/emf.h"
18 #include "chrome/common/gfx/text_elider.h" 18 #include "chrome/common/gfx/text_elider.h"
19 #include "chrome/common/time_format.h" 19 #include "chrome/common/time_format.h"
20 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
21 #include "chrome/common/win_util.h" 21 #include "chrome/common/win_util.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
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
381 381
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698