summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/printing')
-rw-r--r--chrome/browser/printing/print_job_linux.cc17
-rw-r--r--chrome/browser/printing/print_job_manager_linux.cc41
-rw-r--r--chrome/browser/printing/print_view_manager_linux.cc58
-rw-r--r--chrome/browser/printing/printer_query_linux.cc58
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