diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 18:40:33 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 18:40:33 +0000 |
commit | e06131db8c610bca50a025fc876755d0aa42e53c (patch) | |
tree | 994dfa08f6b8cd766532306e875585da934cf05f /chrome/browser/printing | |
parent | ef122393f32e86fb5312d373136d99de62274bf8 (diff) | |
download | chromium_src-e06131db8c610bca50a025fc876755d0aa42e53c.zip chromium_src-e06131db8c610bca50a025fc876755d0aa42e53c.tar.gz chromium_src-e06131db8c610bca50a025fc876755d0aa42e53c.tar.bz2 |
Remove the temporary scaffolding stubs.
They have served they purpose well, but now it's time to retire.
It's one of the things that draggen in the bad dependency of chrome/common
on chrome/browser, and is sufficiently small now to stub things out individually.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/593037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing')
-rw-r--r-- | chrome/browser/printing/print_job_linux.cc | 17 | ||||
-rw-r--r-- | chrome/browser/printing/print_job_manager_linux.cc | 41 | ||||
-rw-r--r-- | chrome/browser/printing/print_view_manager_linux.cc | 58 | ||||
-rw-r--r-- | chrome/browser/printing/printer_query_linux.cc | 58 |
4 files changed, 174 insertions, 0 deletions
diff --git a/chrome/browser/printing/print_job_linux.cc b/chrome/browser/printing/print_job_linux.cc new file mode 100644 index 0000000..f8776a8 --- /dev/null +++ b/chrome/browser/printing/print_job_linux.cc @@ -0,0 +1,17 @@ +// Copyright (c) 2010 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 "chrome/browser/printing/print_job.h" + +#include "base/logging.h" +#include "chrome/browser/printing/print_job_worker.h" +#include "printing/printed_document.h" + +namespace printing { + +PrintJob::PrintJob() : ui_message_loop_(NULL) { + NOTIMPLEMENTED(); +} + +} // namespace printing diff --git a/chrome/browser/printing/print_job_manager_linux.cc b/chrome/browser/printing/print_job_manager_linux.cc new file mode 100644 index 0000000..e148faa --- /dev/null +++ b/chrome/browser/printing/print_job_manager_linux.cc @@ -0,0 +1,41 @@ +// Copyright (c) 2010 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 "chrome/browser/printing/print_job_manager.h" + +#include "base/logging.h" +#include "chrome/browser/printing/print_job.h" +#include "chrome/browser/printing/printer_query.h" +#include "chrome/common/notification_type.h" + +namespace printing { + +PrintJobManager::PrintJobManager() { + NOTIMPLEMENTED(); +} + +PrintJobManager::~PrintJobManager() { + NOTIMPLEMENTED(); +} + +void PrintJobManager::OnQuit() { + NOTIMPLEMENTED(); +} + +void PrintJobManager::QueuePrinterQuery(PrinterQuery* job) { + NOTIMPLEMENTED(); +} + +void PrintJobManager::PopPrinterQuery(int document_cookie, + scoped_refptr<PrinterQuery>* job) { + NOTIMPLEMENTED(); +} + +void PrintJobManager::Observe(NotificationType type, + const NotificationSource& source, + const NotificationDetails& details) { + NOTIMPLEMENTED(); +} + +} // namespace printing diff --git a/chrome/browser/printing/print_view_manager_linux.cc b/chrome/browser/printing/print_view_manager_linux.cc new file mode 100644 index 0000000..cecb721 --- /dev/null +++ b/chrome/browser/printing/print_view_manager_linux.cc @@ -0,0 +1,58 @@ +// Copyright (c) 2010 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 "chrome/browser/printing/print_view_manager.h" + +#include <string> + +#include "base/logging.h" +#include "googleurl/src/gurl.h" +#include "chrome/browser/printing/print_job.h" +#include "chrome/common/notification_type.h" + +namespace printing { + +PrintViewManager::PrintViewManager(TabContents& owner) : owner_(owner) { + NOTIMPLEMENTED(); +} + +PrintViewManager::~PrintViewManager() { + NOTIMPLEMENTED(); +} + +void PrintViewManager::Stop() { + NOTIMPLEMENTED(); +} + +bool PrintViewManager::OnRenderViewGone(RenderViewHost* render_view_host) { + NOTIMPLEMENTED(); + return true; +} + +std::wstring PrintViewManager::RenderSourceName() { + NOTIMPLEMENTED(); + return std::wstring(); +} + +GURL PrintViewManager::RenderSourceUrl() { + NOTIMPLEMENTED(); + return GURL(); +} + +void PrintViewManager::DidGetPrintedPagesCount(int cookie, int number_pages) { + NOTIMPLEMENTED(); +} + +void PrintViewManager::DidPrintPage( + const ViewHostMsg_DidPrintPage_Params& params) { + NOTIMPLEMENTED(); +} + +void PrintViewManager::Observe(NotificationType type, + const NotificationSource& source, + const NotificationDetails& details) { + NOTIMPLEMENTED(); +} + +} // namespace printing diff --git a/chrome/browser/printing/printer_query_linux.cc b/chrome/browser/printing/printer_query_linux.cc new file mode 100644 index 0000000..8de2ff5 --- /dev/null +++ b/chrome/browser/printing/printer_query_linux.cc @@ -0,0 +1,58 @@ +// Copyright (c) 2010 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 "chrome/browser/printing/printer_query.h" + +#include "base/logging.h" +#include "base/task.h" +#include "chrome/browser/printing/print_job_worker.h" + +namespace printing { + +PrinterQuery::PrinterQuery() : ui_message_loop_(NULL) { + NOTIMPLEMENTED(); +} + +PrinterQuery::~PrinterQuery() { + NOTIMPLEMENTED(); +} + +void PrinterQuery::GetSettingsDone(const PrintSettings& new_settings, + PrintingContext::Result result) { + NOTIMPLEMENTED(); +} + +PrintJobWorker* PrinterQuery::DetachWorker(PrintJobWorkerOwner* new_owner) { + NOTIMPLEMENTED(); + return NULL; +} + +void PrinterQuery::GetSettings(GetSettingsAskParam ask_user_for_settings, + gfx::NativeWindow parent_window, + int expected_page_count, + bool has_selection, + CancelableTask* callback) { + NOTIMPLEMENTED(); +} + +void PrinterQuery::StopWorker() { + NOTIMPLEMENTED(); +} + +bool PrinterQuery::is_print_dialog_box_shown() const { + NOTIMPLEMENTED(); + return false; +} + +bool PrinterQuery::is_callback_pending() const { + NOTIMPLEMENTED(); + return false; +} + +bool PrinterQuery::is_valid() const { + NOTIMPLEMENTED(); + return false; +} + +} // namespace printing |