summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 18:04:59 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 18:04:59 +0000
commit6de74456d80f1f458509ec61c353b7ba2c728b84 (patch)
tree51912c23a1755d3aa8be422bfb7777fa7ef46860 /chrome/browser/printing
parent24d2b8f01cca7f68cdb526c03a15f75a7feec35b (diff)
downloadchromium_src-6de74456d80f1f458509ec61c353b7ba2c728b84.zip
chromium_src-6de74456d80f1f458509ec61c353b7ba2c728b84.tar.gz
chromium_src-6de74456d80f1f458509ec61c353b7ba2c728b84.tar.bz2
Delete the ViewSourceTabContents.
This removes all the tab contents type stuff for view source mode. The RenderViewHostManager now automatically switches RenderViews when we turn view source mode on or off to get the desired effect. I also moved some instances of hardcoded schemes into chrome_constants.h, and renamed RendererCreated/Ready/Gone to RenderViewCreated/Ready/Gone to reflect what they actually mean. Review URL: http://codereview.chromium.org/28089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing')
-rw-r--r--chrome/browser/printing/print_view_manager.cc2
-rw-r--r--chrome/browser/printing/print_view_manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/printing/print_view_manager.cc b/chrome/browser/printing/print_view_manager.cc
index c251f8a..c448dbb 100644
--- a/chrome/browser/printing/print_view_manager.cc
+++ b/chrome/browser/printing/print_view_manager.cc
@@ -40,7 +40,7 @@ void PrintViewManager::Stop() {
TerminatePrintJob(true);
}
-bool PrintViewManager::OnRendererGone(RenderViewHost* render_view_host) {
+bool PrintViewManager::OnRenderViewGone(RenderViewHost* render_view_host) {
if (!print_job_.get())
return true;
diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h
index 1392ac57..698c714 100644
--- a/chrome/browser/printing/print_view_manager.h
+++ b/chrome/browser/printing/print_view_manager.h
@@ -36,7 +36,7 @@ class PrintViewManager : public NotificationObserver,
// Terminates or cancels the print job if one was pending, depending on the
// current state. Returns false if the renderer was not valuable.
- bool OnRendererGone(RenderViewHost* render_view_host);
+ bool OnRenderViewGone(RenderViewHost* render_view_host);
// Received a notification from the renderer that the number of printed page
// has just been calculated..