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

Side by Side Diff: components/cloud_devices/common/printer_description.h

Issue 1407353003: Expose more paper sizes when printing to PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more paper sizes for PDF output Created 5 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_PRINTER_DESCRIPTION_H_ 5 #ifndef COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_PRINTER_DESCRIPTION_H_
6 #define COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_PRINTER_DESCRIPTION_H_ 6 #define COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_PRINTER_DESCRIPTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 JPN_KAKU2, 275 JPN_KAKU2,
276 276
277 // Other metric standard sheet media size names. 277 // Other metric standard sheet media size names.
278 OM_SMALL_PHOTO, 278 OM_SMALL_PHOTO,
279 OM_ITALIAN, 279 OM_ITALIAN,
280 OM_POSTFIX, 280 OM_POSTFIX,
281 OM_LARGE_PHOTO, 281 OM_LARGE_PHOTO,
282 OM_FOLIO, 282 OM_FOLIO,
283 OM_FOLIO_SP, 283 OM_FOLIO_SP,
284 OM_INVITE, 284 OM_INVITE,
285 OM_US_BUSINESS_CARD,
286 OM_UK_BUSINESS_CARD
285 }; 287 };
286 288
287 struct Media { 289 struct Media {
288 Media(); 290 Media();
289 291
290 explicit Media(MediaType type); 292 explicit Media(MediaType type);
291 293
292 Media(MediaType type, int32 width_um, int32 height_um); 294 Media(MediaType type, int32 width_um, int32 height_um);
293 295
294 Media(const std::string& custom_display_name, 296 Media(const std::string& custom_display_name,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 typedef TicketItem<int32, CopiesTraits> CopiesTicketItem; 367 typedef TicketItem<int32, CopiesTraits> CopiesTicketItem;
366 typedef TicketItem<PageRange, PageRangeTraits> PageRangeTicketItem; 368 typedef TicketItem<PageRange, PageRangeTraits> PageRangeTicketItem;
367 typedef TicketItem<bool, CollateTraits> CollateTicketItem; 369 typedef TicketItem<bool, CollateTraits> CollateTicketItem;
368 typedef TicketItem<bool, ReverseTraits> ReverseTicketItem; 370 typedef TicketItem<bool, ReverseTraits> ReverseTicketItem;
369 371
370 } // namespace printer 372 } // namespace printer
371 373
372 } // namespace cloud_devices 374 } // namespace cloud_devices
373 375
374 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_PRINTER_DESCRIPTION_H_ 376 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_PRINTER_DESCRIPTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698