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

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

Issue 10941025: Simplify document title for Windows printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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 <winspool.h> 9 #include <winspool.h>
10 #include <prntvpt.h> 10 #include <prntvpt.h>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 private: 122 private:
123 XPSPrintModule() { } 123 XPSPrintModule() { }
124 static bool InitImpl(); 124 static bool InitImpl();
125 }; 125 };
126 126
127 PRINTING_EXPORT bool InitBasicPrinterInfo(HANDLE printer, 127 PRINTING_EXPORT bool InitBasicPrinterInfo(HANDLE printer,
128 PrinterBasicInfo* printer_info); 128 PrinterBasicInfo* printer_info);
129 129
130 PRINTING_EXPORT std::string GetDriverInfo(HANDLE printer); 130 PRINTING_EXPORT std::string GetDriverInfo(HANDLE printer);
131 131
132 // Simplify title to resolve issue with some drivers on Windows.
133 PRINTING_EXPORT string16 SimplifyDocumentTitle(const string16& title);
134
132 } // namespace printing 135 } // namespace printing
133 136
134 #endif // PRINTING_BACKEND_WIN_HELPER_H_ 137 #endif // PRINTING_BACKEND_WIN_HELPER_H_
OLDNEW
« no previous file with comments | « printing/DEPS ('k') | printing/backend/win_helper.cc » ('j') | printing/backend/win_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698