diff options
author | Vitaly Buka <vitalybuka@chromium.org> | 2014-08-29 14:27:52 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@chromium.org> | 2014-08-29 21:32:06 +0000 |
commit | 176ca8f58e7c2d4a26cdf0fa64807b25482a4494 (patch) | |
tree | 62f8da2b83f39a8ea612c18ec28396a3c681f1ce /printing | |
parent | 5f02caf4667ea96828f68d5b6ea6ed371e592a47 (diff) | |
download | chromium_src-176ca8f58e7c2d4a26cdf0fa64807b25482a4494.zip chromium_src-176ca8f58e7c2d4a26cdf0fa64807b25482a4494.tar.gz chromium_src-176ca8f58e7c2d4a26cdf0fa64807b25482a4494.tar.bz2 |
Removed IDC_PRINT_TO_DESTINATION.
This code was used for Win8 non-aura builds. Now it's dead.
metro_driver should be cleared separately as it has a lot of stuff excluded from build.
BUG=142330
NOTRY=true
R=mad@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/524543002
Cr-Commit-Position: refs/heads/master@{#292683}
Diffstat (limited to 'printing')
-rw-r--r-- | printing/BUILD.gn | 2 | ||||
-rw-r--r-- | printing/print_destination_interface.h | 32 | ||||
-rw-r--r-- | printing/print_destination_none.cc | 13 | ||||
-rw-r--r-- | printing/printing.gyp | 2 |
4 files changed, 0 insertions, 49 deletions
diff --git a/printing/BUILD.gn b/printing/BUILD.gn index 6e6678d..2a0d2b5 100644 --- a/printing/BUILD.gn +++ b/printing/BUILD.gn @@ -42,8 +42,6 @@ component("printing") { "pdf_metafile_cg_mac.h", "pdf_metafile_skia.cc", "pdf_metafile_skia.h", - "print_destination_interface.h", - "print_destination_none.cc", "print_dialog_gtk_interface.h", "print_job_constants.cc", "print_job_constants.h", diff --git a/printing/print_destination_interface.h b/printing/print_destination_interface.h deleted file mode 100644 index 715f529..0000000 --- a/printing/print_destination_interface.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef PRINTING_PRINT_DESTINATION_INTERFACE_H_ -#define PRINTING_PRINT_DESTINATION_INTERFACE_H_ - -#include "base/memory/ref_counted.h" -#include "printing/printing_export.h" - -namespace printing { - -class PrintDestinationInterface - : public base::RefCountedThreadSafe<PrintDestinationInterface> { - public: - // Sets the number of pages to print as soon as it is known. - virtual void SetPageCount(int page_count) = 0; - - // Sets the metafile bits for a given page as soon as it is ready. - virtual void SetPageContent(int page_number, - void* content, - size_t content_size) = 0; - protected: - friend class base::RefCountedThreadSafe<PrintDestinationInterface>; - virtual ~PrintDestinationInterface() {} -}; - -PRINTING_EXPORT PrintDestinationInterface* CreatePrintDestination(); - -} // namespace printing - -#endif // PRINTING_PRINT_DESTINATION_INTERFACE_H_ diff --git a/printing/print_destination_none.cc b/printing/print_destination_none.cc deleted file mode 100644 index 66b838e..0000000 --- a/printing/print_destination_none.cc +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "printing/print_destination_interface.h" - -namespace printing { - -PrintDestinationInterface* CreatePrintDestination() { - return NULL; -} - -} // namespace printing diff --git a/printing/printing.gyp b/printing/printing.gyp index 81ffe34..fe2aeda 100644 --- a/printing/printing.gyp +++ b/printing/printing.gyp @@ -57,8 +57,6 @@ 'pdf_metafile_cg_mac.h', 'pdf_metafile_skia.cc', 'pdf_metafile_skia.h', - 'print_destination_interface.h', - 'print_destination_none.cc', 'print_dialog_gtk_interface.h', 'print_job_constants.cc', 'print_job_constants.h', |