Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: chrome/renderer/print_web_view_helper.h

Issue 7038028: Initial support for cloudprint in print preview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge. Removed whitelist code.wq Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698