Index: chrome/browser/ui/webui/print_preview/print_preview_ui.h |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.h b/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
index 722c3168e2f8b510143fea1bf8aa4019ea4c701e..76f5acd9a9abb80ca2dbe7385e79b2897ac861d5 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.h |
@@ -23,6 +23,7 @@ struct PrintHostMsg_RequestPrintPreview_Params; |
struct PrintHostMsg_SetOptionsFromDocument_Params; |
namespace base { |
+class DictionaryValue; |
class FilePath; |
class RefCountedBytes; |
} |
@@ -158,6 +159,14 @@ class PrintPreviewUI : public ConstrainedWebDialogUI { |
// Passes |closure| to PrintPreviewHandler::SetPdfSavedClosureForTesting(). |
void SetPdfSavedClosureForTesting(const base::Closure& closure); |
+ // Tell the handler to send the enable-manipulate-settings-for-test WebUI |
+ // event. |
+ void SendEnableManipulateSettingsForTest(); |
+ |
+ // Tell the handler to send the manipulate-settings-for-test WebUI event |
+ // to set the print preview settings contained in |settings|. |
+ void SendManipulateSettingsForTest(const base::DictionaryValue& settings); |
+ |
private: |
FRIEND_TEST_ALL_PREFIXES(PrintPreviewDialogControllerUnitTest, |
TitleAfterReload); |