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

Side by Side Diff: printing/printing_context_mac.mm

Issue 2400873002: keep only one typedef for the native drawing context (Closed)
Patch Set: native_drawing_context.h Created 4 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
« no previous file with comments | « printing/printing_context_mac.h ('k') | printing/printing_context_no_system_dialog.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/printing_context_mac.h" 5 #include "printing/printing_context_mac.h"
6 6
7 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
8 8
9 #import <iomanip> 9 #import <iomanip>
10 #import <numeric> 10 #import <numeric>
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 PMPrintSession print_session = 498 PMPrintSession print_session =
499 static_cast<PMPrintSession>([print_info_.get() PMPrintSession]); 499 static_cast<PMPrintSession>([print_info_.get() PMPrintSession]);
500 PMSessionEndPageNoDialog(print_session); 500 PMSessionEndPageNoDialog(print_session);
501 } 501 }
502 502
503 void PrintingContextMac::ReleaseContext() { 503 void PrintingContextMac::ReleaseContext() {
504 print_info_.reset(); 504 print_info_.reset();
505 context_ = NULL; 505 context_ = NULL;
506 } 506 }
507 507
508 gfx::NativeDrawingContext PrintingContextMac::context() const { 508 skia::NativeDrawingContext PrintingContextMac::context() const {
509 return context_; 509 return context_;
510 } 510 }
511 511
512 } // namespace printing 512 } // namespace printing
OLDNEW
« no previous file with comments | « printing/printing_context_mac.h ('k') | printing/printing_context_no_system_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698