OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CLOUD_PRINT_VIRTUAL_DRIVER_VIRTUAL_DRIVER_SWITCHES_H |
| 6 #define CLOUD_PRINT_VIRTUAL_DRIVER_VIRTUAL_DRIVER_SWITCHES_H |
| 7 #pragma once |
| 8 |
| 9 namespace switches { |
| 10 // These constants are duplicated from chrome/common/chrome_switches.cc |
| 11 // in order to avoid dependency problems. |
| 12 // TODO(abodenha@chromium.org) Reunify them in some sensible manner. |
| 13 // Bug: www.crbug.com/88991 |
| 14 |
| 15 // Used with kCloudPrintFile. Tells Chrome to delete the file when |
| 16 // finished displaying the print dialog. |
| 17 extern const char kCloudPrintDeleteFile[]; |
| 18 |
| 19 // Tells chrome to display the cloud print dialog and upload the |
| 20 // specified file for printing. |
| 21 extern const char kCloudPrintFile[]; |
| 22 |
| 23 // Used with kCloudPrintFile to specify a title for the resulting print |
| 24 // job. |
| 25 extern const char kCloudPrintJobTitle[]; |
| 26 |
| 27 // Specifies the mime type to be used when uploading data from the |
| 28 // file referenced by cloud-print-file. |
| 29 // Defaults to "application/pdf" if unspecified. |
| 30 extern const char kCloudPrintFileType[]; |
| 31 } //namespace switches |
| 32 |
| 33 #endif // CLOUD_PRINT_VIRTUAL_DRIVER_VIRTUAL_DRIVER_SWITCHES_H |
OLD | NEW |