Chromium Code Reviews| 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 0899ed7d4a6c7015bc8984486629d907f4ebc476..73cf690e00b7a5cd53343af6a39da2a6c0333664 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 |
|
Lei Zhang
2011/06/14 01:08:08
Remove?
Albert Bodenhamer
2011/06/14 19:43:54
Done.
|
| + // print preview page to communicate with cloud print. |
| + void OnPrintSetupWhitelist(std::string host); |
| + void OnPrintTeardownWhitelist(std::string host); |
| + |
| // Print the document. |
| void OnPrintPages(); |