summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_view_host.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 19:54:54 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 19:54:54 +0000
commitadefec58ada3ab8ffd373bb6cfc1e1b6adbad4eb (patch)
tree5d4594e415c8adc8448027ed42f43124d154d5d2 /content/browser/renderer_host/render_view_host.cc
parentd2a892601a3524959b131e97f45b3bcc40811ab9 (diff)
downloadchromium_src-adefec58ada3ab8ffd373bb6cfc1e1b6adbad4eb.zip
chromium_src-adefec58ada3ab8ffd373bb6cfc1e1b6adbad4eb.tar.gz
chromium_src-adefec58ada3ab8ffd373bb6cfc1e1b6adbad4eb.tar.bz2
Cleanup: Move more print code out of RVH.
BUG=76795 TEST=none Review URL: http://codereview.chromium.org/6780020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_view_host.cc')
-rw-r--r--content/browser/renderer_host/render_view_host.cc14
1 files changed, 1 insertions, 13 deletions
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index f305870..9a5f4c28 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -24,8 +24,8 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/extension_messages.h"
-#include "chrome/common/render_messages.h"
#include "chrome/common/print_messages.h"
+#include "chrome/common/render_messages.h"
#include "chrome/common/safebrowsing_messages.h"
#include "chrome/common/spellcheck_messages.h"
#include "chrome/common/translate_errors.h"
@@ -381,14 +381,6 @@ bool RenderViewHost::PrintPages() {
return Send(new PrintMsg_PrintPages(routing_id()));
}
-bool RenderViewHost::PrintPreview(const DictionaryValue& settings) {
- return Send(new PrintMsg_PrintPreview(routing_id(), settings));
-}
-
-void RenderViewHost::PrintingDone(int document_cookie, bool success) {
- Send(new PrintMsg_PrintingDone(routing_id(), document_cookie, success));
-}
-
void RenderViewHost::StartFinding(int request_id,
const string16& search_text,
bool forward,
@@ -1217,10 +1209,6 @@ void RenderViewHost::ContextMenuClosed(
Send(new ViewMsg_ContextMenuClosed(routing_id(), custom_context));
}
-void RenderViewHost::PrintForPrintPreview(const DictionaryValue& job_settings) {
- Send(new PrintMsg_PrintForPrintPreview(routing_id(), job_settings));
-}
-
void RenderViewHost::OnMsgStartDragging(
const WebDropData& drop_data,
WebDragOperationsMask drag_operations_mask,