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

Side by Side Diff: printing/printed_document_win.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 | « printing/printed_document.cc ('k') | views/background.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 "app/win_util.h" 7 #include "app/win_util.h"
8 #include "app/gfx/font.h"
9 #include "base/logging.h" 8 #include "base/logging.h"
10 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "gfx/font.h"
11 #include "printing/page_number.h" 11 #include "printing/page_number.h"
12 #include "printing/page_overlays.h" 12 #include "printing/page_overlays.h"
13 #include "printing/printed_pages_source.h" 13 #include "printing/printed_pages_source.h"
14 #include "printing/printed_page.h" 14 #include "printing/printed_page.h"
15 #include "printing/units.h" 15 #include "printing/units.h"
16 #include "skia/ext/platform_device.h" 16 #include "skia/ext/platform_device.h"
17 17
18 #if defined(OS_WIN) 18 #if defined(OS_WIN)
19 namespace { 19 namespace {
20 20
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 font); 133 font);
134 PrintHeaderFooter(context, page, PageOverlays::CENTER, PageOverlays::BOTTOM, 134 PrintHeaderFooter(context, page, PageOverlays::CENTER, PageOverlays::BOTTOM,
135 font); 135 font);
136 PrintHeaderFooter(context, page, PageOverlays::RIGHT, PageOverlays::BOTTOM, 136 PrintHeaderFooter(context, page, PageOverlays::RIGHT, PageOverlays::BOTTOM,
137 font); 137 font);
138 int res = RestoreDC(context, saved_state); 138 int res = RestoreDC(context, saved_state);
139 DCHECK_NE(res, 0); 139 DCHECK_NE(res, 0);
140 } 140 }
141 141
142 } // namespace printing 142 } // namespace printing
OLDNEW
« no previous file with comments | « printing/printed_document.cc ('k') | views/background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698