diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 05:04:46 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-23 05:04:46 +0000 |
commit | ff9067434aceb8bcf7c70b1d2ad627fd85e5b957 (patch) | |
tree | ac8810b39c81cb8b59a00625a28c160dfb8fd3dc /printing/print_job_constants.cc | |
parent | 2bd4b68de2e193aca51caa09edddb8fd0cd3b9cd (diff) | |
download | chromium_src-ff9067434aceb8bcf7c70b1d2ad627fd85e5b957.zip chromium_src-ff9067434aceb8bcf7c70b1d2ad627fd85e5b957.tar.gz chromium_src-ff9067434aceb8bcf7c70b1d2ad627fd85e5b957.tar.bz2 |
Print Preview: Go from event driven print preview back to print preview with sync messages. The sync messages now go to the IO thread to avoid the potential deadlock on Windows.
BUG=91057, and probably a few more.
TEST=included.
Review URL: http://codereview.chromium.org/7621087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_job_constants.cc')
-rw-r--r-- | printing/print_job_constants.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc index abaf167..b1928e5 100644 --- a/printing/print_job_constants.cc +++ b/printing/print_job_constants.cc @@ -12,6 +12,9 @@ const char kIsFirstRequest[] = "isFirstRequest"; // Unique ID sent along every preview request. const char kPreviewRequestID[] = "requestID"; +// Unique ID to identify a print preview UI. +const char kPreviewUIAddr[] = "previewUIAddr"; + // Print using cloud print: true if selected, false if not. const char kSettingCloudPrintId[] = "cloudPrintID"; @@ -83,10 +86,8 @@ const char kSettingPrinterName[] = "printerName"; // Print to PDF option: true if selected, false if not. const char kSettingPrintToPDF[] = "printToPDF"; -// Indices used to represent first page, invalid page and complete -// preview document. +// Indices used to represent first preview page and complete preview document. const int FIRST_PAGE_INDEX = 0; const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; -const int INVALID_PAGE_INDEX = -2; } // namespace printing |