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

Side by Side Diff: printing/printed_document_mac.cc

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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/pdf_metafile_mac.cc ('k') | printing/printing_context_mac.mm » ('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 #import <ApplicationServices/ApplicationServices.h> 7 #import <ApplicationServices/ApplicationServices.h>
8 #import <CoreFoundation/CoreFoundation.h> 8 #import <CoreFoundation/CoreFoundation.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/scoped_cftyperef.h"
12 #include "printing/page_number.h" 11 #include "printing/page_number.h"
13 #include "printing/printed_page.h" 12 #include "printing/printed_page.h"
14 13
15 namespace printing { 14 namespace printing {
16 15
17 void PrintedDocument::RenderPrintedPage( 16 void PrintedDocument::RenderPrintedPage(
18 const PrintedPage& page, gfx::NativeDrawingContext context) const { 17 const PrintedPage& page, gfx::NativeDrawingContext context) const {
19 #ifndef NDEBUG 18 #ifndef NDEBUG
20 { 19 {
21 // Make sure the page is from our list. 20 // Make sure the page is from our list.
(...skipping 18 matching lines...) Expand all
40 // TODO(stuartmorgan): Print the header and footer. 39 // TODO(stuartmorgan): Print the header and footer.
41 } 40 }
42 41
43 void PrintedDocument::DrawHeaderFooter(gfx::NativeDrawingContext context, 42 void PrintedDocument::DrawHeaderFooter(gfx::NativeDrawingContext context,
44 std::wstring text, 43 std::wstring text,
45 gfx::Rect bounds) const { 44 gfx::Rect bounds) const {
46 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
47 } 46 }
48 47
49 } // namespace printing 48 } // namespace printing
OLDNEW
« no previous file with comments | « printing/pdf_metafile_mac.cc ('k') | printing/printing_context_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698