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

Side by Side Diff: chrome/browser/printing/print_preview_message_handler.h

Issue 7740005: Print preview not showing if default print is invalid. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge with latest trunk (again) Created 9 years, 3 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_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/tab_contents/tab_contents_observer.h" 9 #include "content/browser/tab_contents/tab_contents_observer.h"
10 10
(...skipping 28 matching lines...) Expand all
39 void OnRequestPrintPreview(); 39 void OnRequestPrintPreview();
40 void OnDidGetDefaultPageLayout( 40 void OnDidGetDefaultPageLayout(
41 const printing::PageSizeMargins& page_layout_in_points); 41 const printing::PageSizeMargins& page_layout_in_points);
42 void OnDidGetPreviewPageCount( 42 void OnDidGetPreviewPageCount(
43 const PrintHostMsg_DidGetPreviewPageCount_Params& params); 43 const PrintHostMsg_DidGetPreviewPageCount_Params& params);
44 void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params); 44 void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params);
45 void OnMetafileReadyForPrinting( 45 void OnMetafileReadyForPrinting(
46 const PrintHostMsg_DidPreviewDocument_Params& params); 46 const PrintHostMsg_DidPreviewDocument_Params& params);
47 void OnPrintPreviewFailed(int document_cookie); 47 void OnPrintPreviewFailed(int document_cookie);
48 void OnPrintPreviewCancelled(int document_cookie); 48 void OnPrintPreviewCancelled(int document_cookie);
49 void OnInvalidPrinterSettings(int document_cookie);
49 50
50 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler); 51 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler);
51 }; 52 };
52 53
53 } // namespace printing 54 } // namespace printing
54 55
55 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ 56 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698