summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 20:00:12 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-14 20:00:12 +0000
commit46b8ae05011f68f6a2caff471111aefc39f1f498 (patch)
tree3e4f156ac73b1e6a6812bfdbfcd411c0eeea45fa /printing
parent38f8fe98d27130157e9eacf9a2c8b9a99e7a02cc (diff)
downloadchromium_src-46b8ae05011f68f6a2caff471111aefc39f1f498.zip
chromium_src-46b8ae05011f68f6a2caff471111aefc39f1f498.tar.gz
chromium_src-46b8ae05011f68f6a2caff471111aefc39f1f498.tar.bz2
Printing: Delete dead code in PrintJob and cleanup corresponding code in PrintingContext.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6510007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74844 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r--printing/printing_context.h3
-rw-r--r--printing/printing_context_cairo.cc4
-rw-r--r--printing/printing_context_cairo.h1
-rw-r--r--printing/printing_context_mac.h1
-rw-r--r--printing/printing_context_mac.mm4
-rw-r--r--printing/printing_context_win.cc4
-rw-r--r--printing/printing_context_win.h1
7 files changed, 0 insertions, 18 deletions
diff --git a/printing/printing_context.h b/printing/printing_context.h
index 353c36d..6d51f02 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -72,9 +72,6 @@ class PrintingContext {
// immediately.
virtual void Cancel() = 0;
- // Dismiss the Print... dialog box if shown.
- virtual void DismissDialog() = 0;
-
// Releases the native printing context.
virtual void ReleaseContext() = 0;
diff --git a/printing/printing_context_cairo.cc b/printing/printing_context_cairo.cc
index 5f9f884..5976878 100644
--- a/printing/printing_context_cairo.cc
+++ b/printing/printing_context_cairo.cc
@@ -158,10 +158,6 @@ void PrintingContextCairo::Cancel() {
NOTIMPLEMENTED();
}
-void PrintingContextCairo::DismissDialog() {
- NOTIMPLEMENTED();
-}
-
void PrintingContextCairo::ReleaseContext() {
// Nothing to do yet.
}
diff --git a/printing/printing_context_cairo.h b/printing/printing_context_cairo.h
index c5a8fa8..ac42239 100644
--- a/printing/printing_context_cairo.h
+++ b/printing/printing_context_cairo.h
@@ -28,7 +28,6 @@ class PrintingContextCairo : public PrintingContext {
virtual Result PageDone();
virtual Result DocumentDone();
virtual void Cancel();
- virtual void DismissDialog();
virtual void ReleaseContext();
virtual gfx::NativeDrawingContext context() const;
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
index 49ba983..8f6bf34 100644
--- a/printing/printing_context_mac.h
+++ b/printing/printing_context_mac.h
@@ -34,7 +34,6 @@ class PrintingContextMac : public PrintingContext {
virtual Result PageDone();
virtual Result DocumentDone();
virtual void Cancel();
- virtual void DismissDialog();
virtual void ReleaseContext();
virtual gfx::NativeDrawingContext context() const;
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm
index 466c59b..1826c49 100644
--- a/printing/printing_context_mac.mm
+++ b/printing/printing_context_mac.mm
@@ -201,10 +201,6 @@ void PrintingContextMac::Cancel() {
PMSessionEndPageNoDialog(print_session);
}
-void PrintingContextMac::DismissDialog() {
- NOTIMPLEMENTED();
-}
-
void PrintingContextMac::ReleaseContext() {
if (print_info_) {
[print_info_ autorelease];
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index c5130c0..3d40739 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -327,10 +327,6 @@ void PrintingContextWin::Cancel() {
in_print_job_ = false;
if (context_)
CancelDC(context_);
- DismissDialog();
-}
-
-void PrintingContextWin::DismissDialog() {
if (dialog_box_) {
DestroyWindow(dialog_box_);
dialog_box_dismissed_ = true;
diff --git a/printing/printing_context_win.h b/printing/printing_context_win.h
index 361fbe6..d42bf97 100644
--- a/printing/printing_context_win.h
+++ b/printing/printing_context_win.h
@@ -34,7 +34,6 @@ class PrintingContextWin : public PrintingContext {
virtual Result PageDone();
virtual Result DocumentDone();
virtual void Cancel();
- virtual void DismissDialog();
virtual void ReleaseContext();
virtual gfx::NativeDrawingContext context() const;