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 ed9c8e221fb84844f5cb297e7e47bd83401451f7..50e8253b7803de503cfd08bba1ac872238c84c0f 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/09 21:23:30
nit: indentation
Albert Bodenhamer
2011/06/10 01:29:36
Done.
|
| +// print preview page to communicate with cloud print. |
| + void OnPrintSetupWhitelist(std::string host); |
| + void OnPrintTeardownWhitelist(std::string host); |
| + |
| // Print the document. |
| void OnPrintPages(); |