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

Unified Diff: cloud_print/virtual_driver/virtual_driver_switches.h

Issue 7222011: Linux Virtual Printer Driver (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: changed command_line_string to GetCommandLineString Created 9 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 side-by-side diff with in-line comments
Download patch
Index: cloud_print/virtual_driver/virtual_driver_switches.h
diff --git a/cloud_print/virtual_driver/virtual_driver_switches.h b/cloud_print/virtual_driver/virtual_driver_switches.h
new file mode 100644
index 0000000000000000000000000000000000000000..aa8f1276b309594e5d0b423c84975438af25b31b
--- /dev/null
+++ b/cloud_print/virtual_driver/virtual_driver_switches.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CLOUD_PRINT_VIRTUAL_DRIVER_VIRTUAL_DRIVER_SWITCHES_H
+#define CLOUD_PRINT_VIRTUAL_DRIVER_VIRTUAL_DRIVER_SWITCHES_H
+#pragma once
+
+namespace switches {
+// These constants are duplicated from chrome/common/chrome_switches.cc
+// in order to avoid dependency problems.
+// TODO(abodenha@chromium.org) Reunify them in some sensible manner.
+// Bug: www.crbug.com/88991
+
+// Used with kCloudPrintFile. Tells Chrome to delete the file when
+// finished displaying the print dialog.
+extern const char kCloudPrintDeleteFile[];
+
+// Tells chrome to display the cloud print dialog and upload the
+// specified file for printing.
+extern const char kCloudPrintFile[];
+
+// Used with kCloudPrintFile to specify a title for the resulting print
+// job.
+extern const char kCloudPrintJobTitle[];
+
+// Specifies the mime type to be used when uploading data from the
+// file referenced by cloud-print-file.
+// Defaults to "application/pdf" if unspecified.
+extern const char kCloudPrintFileType[];
+} //namespace switches
+
+#endif // CLOUD_PRINT_VIRTUAL_DRIVER_VIRTUAL_DRIVER_SWITCHES_H
« no previous file with comments | « cloud_print/virtual_driver/virtual_driver_linux.gyp ('k') | cloud_print/virtual_driver/virtual_driver_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698