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

Side by Side Diff: printing/backend/win_helper.h

Issue 480303002: Use document from preview for System Dialog printing on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue Aug 26 01:11:31 PDT 2014 Created 6 years, 3 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 | « chrome/renderer/printing/print_web_view_helper.cc ('k') | printing/backend/win_helper.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BACKEND_WIN_HELPER_H_ 5 #ifndef PRINTING_BACKEND_WIN_HELPER_H_
6 #define PRINTING_BACKEND_WIN_HELPER_H_ 6 #define PRINTING_BACKEND_WIN_HELPER_H_
7 7
8 #include <objidl.h> 8 #include <objidl.h>
9 #include <prntvpt.h> 9 #include <prntvpt.h>
10 #include <winspool.h> 10 #include <winspool.h>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevModeWithColor( 179 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevModeWithColor(
180 HANDLE printer, 180 HANDLE printer,
181 const base::string16& printer_name, 181 const base::string16& printer_name,
182 bool color); 182 bool color);
183 183
184 // Creates new DEVMODE. If |in| is not NULL copy settings from there. 184 // Creates new DEVMODE. If |in| is not NULL copy settings from there.
185 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevMode( 185 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> CreateDevMode(
186 HANDLE printer, 186 HANDLE printer,
187 DEVMODE* in); 187 DEVMODE* in);
188 188
189 // Prompts for new DEVMODE. If |in| is not NULL copy settings from there.
190 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> PromptDevMode(
191 HANDLE printer,
192 const base::string16& printer_name,
193 DEVMODE* in,
194 HWND window,
195 bool* canceled);
196
189 } // namespace printing 197 } // namespace printing
190 198
191 #endif // PRINTING_BACKEND_WIN_HELPER_H_ 199 #endif // PRINTING_BACKEND_WIN_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.cc ('k') | printing/backend/win_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698