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

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

Issue 10083060: [Print Preview]: Added code to support pdf fit to page functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Fix nit Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_message_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const gfx::Rect& printable_area_in_points, 53 const gfx::Rect& printable_area_in_points,
54 bool has_custom_page_size_style); 54 bool has_custom_page_size_style);
55 void OnDidGetPreviewPageCount( 55 void OnDidGetPreviewPageCount(
56 const PrintHostMsg_DidGetPreviewPageCount_Params& params); 56 const PrintHostMsg_DidGetPreviewPageCount_Params& params);
57 void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params); 57 void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params);
58 void OnMetafileReadyForPrinting( 58 void OnMetafileReadyForPrinting(
59 const PrintHostMsg_DidPreviewDocument_Params& params); 59 const PrintHostMsg_DidPreviewDocument_Params& params);
60 void OnPrintPreviewFailed(int document_cookie); 60 void OnPrintPreviewFailed(int document_cookie);
61 void OnPrintPreviewCancelled(int document_cookie); 61 void OnPrintPreviewCancelled(int document_cookie);
62 void OnInvalidPrinterSettings(int document_cookie); 62 void OnInvalidPrinterSettings(int document_cookie);
63 void OnPrintPreviewScalingDisabled();
63 64
64 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler); 65 DISALLOW_COPY_AND_ASSIGN(PrintPreviewMessageHandler);
65 }; 66 };
66 67
67 } // namespace printing 68 } // namespace printing
68 69
69 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_ 70 #endif // CHROME_BROWSER_PRINTING_PRINT_PREVIEW_MESSAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698