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

Side by Side Diff: chrome/browser/ui/webui/print_preview_handler.h

Issue 8055036: Revert 103010 - Refactored code to move cloudprint specific code into print_preview_cloud.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void HandleManageCloudPrint(const base::ListValue* args); 135 void HandleManageCloudPrint(const base::ListValue* args);
136 136
137 // Reloads the initiator tab and closes the associated preview tab. |args| is 137 // Reloads the initiator tab and closes the associated preview tab. |args| is
138 // unused. 138 // unused.
139 void HandleReloadCrashedInitiatorTab(const base::ListValue* args); 139 void HandleReloadCrashedInitiatorTab(const base::ListValue* args);
140 140
141 // Asks the browser to show the native printer management dialog. 141 // Asks the browser to show the native printer management dialog.
142 // |args| is unused. 142 // |args| is unused.
143 void HandleManagePrinters(const base::ListValue* args); 143 void HandleManagePrinters(const base::ListValue* args);
144 144
145 // Asks the browser to show the cloud print dialog. 145 // Asks the browser to show the cloud print dialog. |args| is unused.
146 void HandlePrintWithCloudPrint(); 146 void HandlePrintWithCloudPrint(const base::ListValue* args);
147 147
148 // Asks the browser to close the preview tab. |args| is unused. 148 // Asks the browser to close the preview tab. |args| is unused.
149 void HandleClosePreviewTab(const base::ListValue* args); 149 void HandleClosePreviewTab(const base::ListValue* args);
150 150
151 // Asks the browser for the title of the initiator tab. 151 // Asks the browser for the title of the initiator tab.
152 // |args| is unused. 152 // |args| is unused.
153 void HandleGetInitiatorTabTitle(const base::ListValue* args); 153 void HandleGetInitiatorTabTitle(const base::ListValue* args);
154 154
155 // Sends the printer capabilities to the Web UI. |settings_info| contains 155 // Sends the printer capabilities to the Web UI. |settings_info| contains
156 // printer capabilities information. 156 // printer capabilities information.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 bool has_logged_printers_count_; 216 bool has_logged_printers_count_;
217 217
218 // Holds the path to the print to pdf request. It is empty if no such request 218 // Holds the path to the print to pdf request. It is empty if no such request
219 // exists. 219 // exists.
220 scoped_ptr<FilePath> print_to_pdf_path_; 220 scoped_ptr<FilePath> print_to_pdf_path_;
221 221
222 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler); 222 DISALLOW_COPY_AND_ASSIGN(PrintPreviewHandler);
223 }; 223 };
224 224
225 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_ 225 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/print_preview_data_source.cc ('k') | chrome/browser/ui/webui/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698