| Index: chrome/renderer/print_web_view_helper.h
|
| diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
|
| index ed9c8e221fb84844f5cb297e7e47bd83401451f7..3e5c69cdba34dbbe6585aa9a469bcb7176dc619a 100644
|
| --- a/chrome/renderer/print_web_view_helper.h
|
| +++ b/chrome/renderer/print_web_view_helper.h
|
| @@ -6,6 +6,8 @@
|
| #define CHROME_RENDERER_PRINT_WEB_VIEW_HELPER_H_
|
| #pragma once
|
|
|
| +#include <string>
|
| +
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/shared_memory.h"
|
| #include "base/time.h"
|
| @@ -77,7 +79,6 @@ class PrintWebViewHelper : public RenderViewObserver ,
|
| protected:
|
| // WebKit::WebViewClient override:
|
| virtual void didStopLoading();
|
| -
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(PrintWebViewHelperTest,
|
| BlockScriptInitiatedPrinting);
|
| @@ -100,6 +101,11 @@ class PrintWebViewHelper : public RenderViewObserver ,
|
|
|
| // Message handlers ---------------------------------------------------------
|
|
|
| + // Setup or teardown a whitelist allowing the
|
| + // print preview page to communicate with cloud print.
|
| + void OnPrintSetupWhitelist(std::string host);
|
| + void OnPrintTeardownWhitelist(std::string host);
|
| +
|
| // Print the document.
|
| void OnPrintPages();
|
|
|
|
|