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

Side by Side Diff: printing/printing_context_mac.mm

Issue 1092033006: [Mac/Cleanup] Trim down Foundation.h and ApplicationServices.h includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: include -> import Created 5 years, 7 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') | ui/accessibility/platform/ax_platform_node_mac.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 <ApplicationServices/ApplicationServices.h>
8 #import <AppKit/AppKit.h> 7 #import <AppKit/AppKit.h>
9 8
10 #import <iomanip> 9 #import <iomanip>
11 #import <numeric> 10 #import <numeric>
12 11
13 #include "base/logging.h" 12 #include "base/logging.h"
14 #include "base/mac/scoped_cftyperef.h" 13 #include "base/mac/scoped_cftyperef.h"
15 #include "base/mac/scoped_nsautorelease_pool.h" 14 #include "base/mac/scoped_nsautorelease_pool.h"
16 #include "base/mac/scoped_nsexception_enabler.h" 15 #include "base/mac/scoped_nsexception_enabler.h"
17 #include "base/strings/sys_string_conversions.h" 16 #include "base/strings/sys_string_conversions.h"
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 void PrintingContextMac::ReleaseContext() { 518 void PrintingContextMac::ReleaseContext() {
520 print_info_.reset(); 519 print_info_.reset();
521 context_ = NULL; 520 context_ = NULL;
522 } 521 }
523 522
524 gfx::NativeDrawingContext PrintingContextMac::context() const { 523 gfx::NativeDrawingContext PrintingContextMac::context() const {
525 return context_; 524 return context_;
526 } 525 }
527 526
528 } // namespace printing 527 } // namespace printing
OLDNEW
« no previous file with comments | « printing/printing_context_mac.h ('k') | ui/accessibility/platform/ax_platform_node_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698