projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
printing
/
print_job_constants.cc
diff --git
a/src/printing/print_job_constants.cc
b/src/printing/print_job_constants.cc
index
8ac5db4
..
8d36199
100644
(file)
--- a/
src/printing/print_job_constants.cc
+++ b/
src/printing/print_job_constants.cc
@@
-12,6
+12,12
@@
const char kIsFirstRequest[] = "isFirstRequest";
// Unique ID sent along every preview request.
const char kPreviewRequestID[] = "requestID";
// Unique ID sent along every preview request.
const char kPreviewRequestID[] = "requestID";
+// Unique ID of Print Preview initiator host.
+const char kPreviewInitiatorHostId[] = "previewInitiatorHostId";
+
+// Routing ID of Print Preview initiator.
+const char kPreviewInitiatorRoutingId[] = "previewInitiatorRoutingId";
+
// Unique ID to identify a print preview UI.
const char kPreviewUIID[] = "previewUIID";
// Unique ID to identify a print preview UI.
const char kPreviewUIID[] = "previewUIID";
@@
-89,6
+95,9
@@
const char kSettingMediaSizeWidthMicrons[] = "width_microns";
// Key that specifies the requested media platform specific vendor id.
const char kSettingMediaSizeVendorId[] = "vendor_id";
// Key that specifies the requested media platform specific vendor id.
const char kSettingMediaSizeVendorId[] = "vendor_id";
+// Key that specifies whether the requested media is a default one.
+const char kSettingMediaSizeIsDefault[] = "is_default";
+
// Key that specifies the bottom margin of the page.
const char kSettingMarginBottom[] = "marginBottom";
// Key that specifies the bottom margin of the page.
const char kSettingMarginBottom[] = "marginBottom";
@@
-157,6
+166,9
@@
const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds";
// Whether to print selection only.
const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly";
// Whether to print selection only.
const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly";
+// Whether to print selection only.
+const char kSettingShowSystemDialog[] = "showSystemDialog";
+
// Indices used to represent first preview page and complete preview document.
const int FIRST_PAGE_INDEX = 0;
const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1;
// Indices used to represent first preview page and complete preview document.
const int FIRST_PAGE_INDEX = 0;
const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1;