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

Unified Diff: chrome/browser/ui/webui/print_preview_ui.h

Issue 7721001: PrintPreview: Make ctrl-shift-p start the native print flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 9 years, 4 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: chrome/browser/ui/webui/print_preview_ui.h
diff --git a/chrome/browser/ui/webui/print_preview_ui.h b/chrome/browser/ui/webui/print_preview_ui.h
index ccd2e77f6eb8f0e0994c91698153377bdf396bbc..589f4414c79c6d8ddadde87675a2ba510291dd10 100644
--- a/chrome/browser/ui/webui/print_preview_ui.h
+++ b/chrome/browser/ui/webui/print_preview_ui.h
@@ -58,6 +58,9 @@ class PrintPreviewUI : public ChromeWebUI {
// Notifies the Web UI of a print preview request with |request_id|.
void OnPrintPreviewRequest(int request_id);
+ // Notifies the Web UI to show the system dialog.
+ void OnShowSystemDialog();
+
// Notifies the Web UI about the page count of the request preview.
void OnDidGetPreviewPageCount(
const PrintHostMsg_DidGetPreviewPageCount_Params& params);
@@ -96,6 +99,9 @@ class PrintPreviewUI : public ChromeWebUI {
// Notifies the Web UI renderer that file selection has been cancelled.
void OnFileSelectionCancelled();
+ // Notifies the Web UI to cancel the pending preview request.
+ void OnCancelPendingPreviewRequest();
+
private:
FRIEND_TEST_ALL_PREFIXES(PrintPreviewTabControllerUnitTest,
TitleAfterReload);

Powered by Google App Engine
This is Rietveld 408576698