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

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

Issue 11588: Remove base versions of the graphics headers, which previously just forwarded... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/printing/printing_layout_uitest.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 "base/gfx/platform_device_win.h"
10 #include "base/message_loop.h" 9 #include "base/message_loop.h"
11 #include "base/time.h" 10 #include "base/time.h"
12 #include "chrome/browser/printing/page_number.h" 11 #include "chrome/browser/printing/page_number.h"
13 #include "chrome/browser/printing/page_overlays.h" 12 #include "chrome/browser/printing/page_overlays.h"
14 #include "chrome/browser/printing/printed_pages_source.h" 13 #include "chrome/browser/printing/printed_pages_source.h"
15 #include "chrome/browser/printing/printed_page.h" 14 #include "chrome/browser/printing/printed_page.h"
16 #include "chrome/browser/printing/units.h" 15 #include "chrome/browser/printing/units.h"
17 #include "chrome/common/gfx/chrome_font.h" 16 #include "chrome/common/gfx/chrome_font.h"
18 #include "chrome/common/gfx/emf.h" 17 #include "chrome/common/gfx/emf.h"
19 #include "chrome/common/gfx/text_elider.h" 18 #include "chrome/common/gfx/text_elider.h"
20 #include "chrome/common/time_format.h" 19 #include "chrome/common/time_format.h"
21 #include "chrome/common/notification_service.h" 20 #include "chrome/common/notification_service.h"
22 #include "chrome/common/win_util.h" 21 #include "chrome/common/win_util.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)
31 : mutable_(source), 31 : mutable_(source),
32 immutable_(settings, source, cookie) { 32 immutable_(settings, source, cookie) {
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 time_ = win_util::FormatSystemTime(systemtime, std::wstring()); 377 time_ = win_util::FormatSystemTime(systemtime, std::wstring());
378 #else 378 #else
379 Time now = Time::Now(); 379 Time now = Time::Now();
380 date_ = TimeFormat::ShortDateNumeric(now); 380 date_ = TimeFormat::ShortDateNumeric(now);
381 time_ = TimeFormat::TimeOfDay(now); 381 time_ = TimeFormat::TimeOfDay(now);
382 #endif // WIN32 382 #endif // WIN32
383 } 383 }
384 384
385 } // namespace printing 385 } // namespace printing
386 386
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/printing/printing_layout_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698