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

Unified Diff: chrome/renderer/printing/print_web_view_helper.h

Issue 191293006: Move GetContextMenuNode from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync and fix android clang error Created 6 years, 9 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
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/printing/print_web_view_helper.h
===================================================================
--- chrome/renderer/printing/print_web_view_helper.h (revision 255957)
+++ chrome/renderer/printing/print_web_view_helper.h (working copy)
@@ -117,12 +117,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|.
@@ -137,12 +137,6 @@
// Returns true if the current destination printer is PRINT_TO_PDF.
bool IsPrintToPdfRequested(const base::DictionaryValue& settings);
- // 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();
@@ -160,15 +154,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);
« no previous file with comments | « chrome/renderer/chrome_render_view_observer.cc ('k') | chrome/renderer/printing/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698