Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
index 34725e3ab04c4df43c1687b63a2bc422dd10ec5f..bca77f53281ade07fc0b7f6716f7108ae8559498 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h |
@@ -116,6 +116,12 @@ class PrintPreviewHandler |
// Sets |pdf_file_saved_closure_| to |closure|. |
void SetPdfSavedClosureForTesting(const base::Closure& closure); |
+ // Fires the 'enable-manipulate-settings-for-test' WebUI event. |
+ void SendEnableManipulateSettingsForTest(); |
+ |
+ // Fires the 'manipulate-settings-for-test' WebUI event with |settings|. |
+ void SendManipulateSettingsForTest(const base::DictionaryValue& settings); |
+ |
protected: |
// If |prompt_user| is true, starts a task to create the default Save As PDF |
// directory if needed. OnDirectoryCreated() will be called when it |