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

Side by Side Diff: printing/units.h

Issue 335583004: Added a test that currently is able to print to pdf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made observer_ in UIDoneLoadingMessageHandler point to a constant address. Created 6 years, 5 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 | « pdf/pdfium/pdfium_engine.cc ('k') | no next file » | 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_UNITS_H_ 5 #ifndef PRINTING_UNITS_H_
6 #define PRINTING_UNITS_H_ 6 #define PRINTING_UNITS_H_
7 7
8 #include "printing/printing_export.h" 8 #include "printing/printing_export.h"
9 9
10 namespace printing { 10 namespace printing {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Converts from 0.00001 meter unit to 0.001 inch. 52 // Converts from 0.00001 meter unit to 0.001 inch.
53 PRINTING_EXPORT int ConvertHundredThousanthMeterToMilliInch(int cmm); 53 PRINTING_EXPORT int ConvertHundredThousanthMeterToMilliInch(int cmm);
54 54
55 // Converts from 1 pixel to 1 point using integers. 55 // Converts from 1 pixel to 1 point using integers.
56 PRINTING_EXPORT int ConvertPixelsToPoint(int pixels); 56 PRINTING_EXPORT int ConvertPixelsToPoint(int pixels);
57 57
58 // Converts from 1 pixel to 1 point using doubles. 58 // Converts from 1 pixel to 1 point using doubles.
59 PRINTING_EXPORT double ConvertPixelsToPointDouble(double pixels); 59 PRINTING_EXPORT double ConvertPixelsToPointDouble(double pixels);
60 60
61 // Converts from 1 point to 1 pixel using doubles. 61 // Converts from 1 point to 1 pixel using doubles.
62 double ConvertPointsToPixelDouble(double points); 62 PRINTING_EXPORT double ConvertPointsToPixelDouble(double points);
63 63
64 } // namespace printing 64 } // namespace printing
65 65
66 #endif // PRINTING_UNITS_H_ 66 #endif // PRINTING_UNITS_H_
OLDNEW
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698