| Index: android_webview/renderer/print_web_view_helper.h
|
| ===================================================================
|
| --- android_webview/renderer/print_web_view_helper.h (revision 255957)
|
| +++ android_webview/renderer/print_web_view_helper.h (working copy)
|
| @@ -119,12 +119,12 @@
|
| virtual void DidStopLoading() OVERRIDE;
|
|
|
| // Message handlers ---------------------------------------------------------
|
| -
|
| - // Print the document.
|
| void OnPrintPages();
|
| -
|
| - // Print the document with the print preview frame/node.
|
| void OnPrintForSystemDialog();
|
| + void OnInitiatePrintPreview(bool selection_only);
|
| + void OnPrintPreview(const base::DictionaryValue& settings);
|
| + void OnPrintForPrintPreview(const base::DictionaryValue& job_settings);
|
| + void OnPrintingDone(bool success);
|
|
|
| // Get |page_size| and |content_area| information from
|
| // |page_layout_in_points|.
|
| @@ -158,12 +158,6 @@
|
| const base::DictionaryValue& job_settings,
|
| const PrintMsg_Print_Params& params);
|
|
|
| - // Initiate print preview.
|
| - void OnInitiatePrintPreview(bool selection_only);
|
| -
|
| - // Start the process of generating a print preview using |settings|.
|
| - void OnPrintPreview(const base::DictionaryValue& settings);
|
| -
|
| // Prepare frame for creating preview document.
|
| void PrepareFrameForPreviewDocument();
|
|
|
| @@ -181,15 +175,6 @@
|
| // Finalize the print ready preview document.
|
| bool FinalizePrintReadyDocument();
|
|
|
| - // Print / preview the node under the context menu.
|
| - void OnPrintNodeUnderContextMenu();
|
| -
|
| - // Print the pages for print preview. Do not display the native print dialog
|
| - // for user settings. |job_settings| has new print job settings values.
|
| - void OnPrintForPrintPreview(const base::DictionaryValue& job_settings);
|
| -
|
| - void OnPrintingDone(bool success);
|
| -
|
| // Enable/Disable window.print calls. If |blocked| is true window.print
|
| // calls will silently fail. Call with |blocked| set to false to reenable.
|
| void SetScriptedPrintBlocked(bool blocked);
|
|
|