diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 07:30:18 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-15 07:30:18 +0000 |
commit | 94fa1b671df11d068e34de63e0ad5612d99ccf89 (patch) | |
tree | 346f95bd8e6c703163ed299279f3f659c999d4b6 /chrome/browser/printing/print_dialog_cloud_internal.h | |
parent | 7c46261b6b47c3f07fef5a2203b155ecbfc8c8ae (diff) | |
download | chromium_src-94fa1b671df11d068e34de63e0ad5612d99ccf89.zip chromium_src-94fa1b671df11d068e34de63e0ad5612d99ccf89.tar.gz chromium_src-94fa1b671df11d068e34de63e0ad5612d99ccf89.tar.bz2 |
Revert 101256 - Simplify GCP integration with print preview.
Removes GCP printers from the printer dropdown on platforms other than Chrome OS.
Adds an option to the printer dropdown to close print preview and print via the cloud print dialog.
BUG=
TEST=Cloud print printers should only appear in print preview in chrome os.
If cloud print is enabled, a new option should appear in the print preview dropdown that closes print preview and brings up the cloud print dialog.
Review URL: http://codereview.chromium.org/7830013
TBR=abodenha@chromium.org
Review URL: http://codereview.chromium.org/7890062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/print_dialog_cloud_internal.h')
-rw-r--r-- | chrome/browser/printing/print_dialog_cloud_internal.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/printing/print_dialog_cloud_internal.h b/chrome/browser/printing/print_dialog_cloud_internal.h index 995b9a6..6e04242 100644 --- a/chrome/browser/printing/print_dialog_cloud_internal.h +++ b/chrome/browser/printing/print_dialog_cloud_internal.h @@ -158,8 +158,7 @@ class CloudPrintHtmlDialogDelegate : public HtmlDialogUIDelegate { const string16& print_job_title, const string16& print_ticket, const std::string& file_type, - bool modal, - bool delete_on_close); + bool modal); virtual ~CloudPrintHtmlDialogDelegate(); // HTMLDialogUIDelegate implementation: @@ -183,11 +182,9 @@ class CloudPrintHtmlDialogDelegate : public HtmlDialogUIDelegate { CloudPrintHtmlDialogDelegate(CloudPrintFlowHandler* flow_handler, int width, int height, const std::string& json_arguments, - bool modal, - bool delete_on_close); + bool modal); void Init(int width, int height, const std::string& json_arguments); - bool delete_on_close_; CloudPrintFlowHandler* flow_handler_; bool modal_; mutable bool owns_flow_handler_; @@ -203,8 +200,7 @@ void CreateDialogImpl(const FilePath& path_to_file, const string16& print_job_title, const string16& print_ticket, const std::string& file_type, - bool modal, - bool delete_on_close); + bool modal); void Delete(const FilePath& path_to_file); |