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

Side by Side Diff: printing/printing_context_mac.h

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 | « ios/web/net/cookie_notification_bridge.h ('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) 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 #ifndef PRINTING_PRINTING_CONTEXT_MAC_H_ 5 #ifndef PRINTING_PRINTING_CONTEXT_MAC_H_
6 #define PRINTING_PRINTING_CONTEXT_MAC_H_ 6 #define PRINTING_PRINTING_CONTEXT_MAC_H_
7 7
8 #include <ApplicationServices/ApplicationServices.h>
8 #include <string> 9 #include <string>
9 10
10 #include "base/mac/scoped_nsobject.h" 11 #include "base/mac/scoped_nsobject.h"
11 #include "printing/print_job_constants.h" 12 #include "printing/print_job_constants.h"
12 #include "printing/printing_context.h" 13 #include "printing/printing_context.h"
13 14
14 #ifdef __OBJC__
15 @class NSPrintInfo; 15 @class NSPrintInfo;
16 #else
17 class NSPrintInfo;
18 #endif // __OBJC__
19 16
20 namespace printing { 17 namespace printing {
21 18
22 class PRINTING_EXPORT PrintingContextMac : public PrintingContext { 19 class PRINTING_EXPORT PrintingContextMac : public PrintingContext {
23 public: 20 public:
24 explicit PrintingContextMac(Delegate* delegate); 21 explicit PrintingContextMac(Delegate* delegate);
25 ~PrintingContextMac() override; 22 ~PrintingContextMac() override;
26 23
27 // PrintingContext implementation. 24 // PrintingContext implementation.
28 void AskUserForSettings(int max_pages, 25 void AskUserForSettings(int max_pages,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // The current page's context; only valid between NewPage and PageDone call 93 // The current page's context; only valid between NewPage and PageDone call
97 // pairs. 94 // pairs.
98 CGContext* context_; 95 CGContext* context_;
99 96
100 DISALLOW_COPY_AND_ASSIGN(PrintingContextMac); 97 DISALLOW_COPY_AND_ASSIGN(PrintingContextMac);
101 }; 98 };
102 99
103 } // namespace printing 100 } // namespace printing
104 101
105 #endif // PRINTING_PRINTING_CONTEXT_MAC_H_ 102 #endif // PRINTING_PRINTING_CONTEXT_MAC_H_
OLDNEW
« no previous file with comments | « ios/web/net/cookie_notification_bridge.h ('k') | printing/printing_context_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698