summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 22:00:21 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 22:00:21 +0000
commit8d3347feb74ff61582d42b214365664ecc41c775 (patch)
tree300f42cdb3c7f0de84241fa72b8e8e07735e7cc1 /chrome/common/temp_scaffolding_stubs.h
parent8f27da1f873a11a7900ef2735967cec1a2291a79 (diff)
downloadchromium_src-8d3347feb74ff61582d42b214365664ecc41c775.zip
chromium_src-8d3347feb74ff61582d42b214365664ecc41c775.tar.gz
chromium_src-8d3347feb74ff61582d42b214365664ecc41c775.tar.bz2
Move some more interfaces on RenderViewHostDelegate to separate classes. The
ones in the patch are those that are implemented by other classes, avoiding TabContents pass-throughs. Review URL: http://codereview.chromium.org/149373 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index dd17bb7..8aab9f8 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -19,6 +19,7 @@
#include "base/string16.h"
#include "build/build_config.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
+#include "chrome/browser/renderer_host/render_view_host_delegate.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -65,7 +66,7 @@ class ViewMsg_Print_Params;
// http://code.google.com/p/chromium/issues/detail?id=9847
namespace printing {
-class PrintViewManager {
+class PrintViewManager : public RenderViewHostDelegate::Printing {
public:
PrintViewManager(TabContents&) { }
void Stop() { NOTIMPLEMENTED(); }
@@ -74,8 +75,12 @@ class PrintViewManager {
NOTIMPLEMENTED();
return true; // Assume for now that all renderer crashes are important.
}
- void DidGetPrintedPagesCount(int, int) { NOTIMPLEMENTED(); }
- void DidPrintPage(const ViewHostMsg_DidPrintPage_Params&) {
+
+ // RenderViewHostDelegate::Printing implementation.
+ virtual void DidGetPrintedPagesCount(int cookie, int number_pages) {
+ NOTIMPLEMENTED();
+ }
+ virtual void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params) {
NOTIMPLEMENTED();
}
};