From 92d3257e8d4ec95099ff2cb7a29215931d6edc07 Mon Sep 17 00:00:00 2001 From: "craig.schlenter@chromium.org" Date: Mon, 22 Feb 2010 15:13:36 +0000 Subject: Compile more printing code on Linux and nuke some stubs. BUG=none TEST=compiles on bots Review URL: http://codereview.chromium.org/619008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39597 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/printing/printer_query_linux.cc | 58 -------------------------- chrome/chrome_browser.gypi | 5 --- 2 files changed, 63 deletions(-) delete mode 100644 chrome/browser/printing/printer_query_linux.cc (limited to 'chrome') diff --git a/chrome/browser/printing/printer_query_linux.cc b/chrome/browser/printing/printer_query_linux.cc deleted file mode 100644 index 8de2ff5..0000000 --- a/chrome/browser/printing/printer_query_linux.cc +++ /dev/null @@ -1,58 +0,0 @@ -// 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 diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index ef011ca..2bad76e 100755 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -1508,7 +1508,6 @@ 'browser/printing/print_job_worker_owner.h', 'browser/printing/print_view_manager.cc', 'browser/printing/print_view_manager.h', - 'browser/printing/printer_query_linux.cc', 'browser/printing/printer_query.cc', 'browser/printing/printer_query.h', 'browser/privacy_blacklist/blacklist.h', @@ -2212,10 +2211,6 @@ '../base/base.gyp:linux_versioninfo', ], 'sources!': [ - # Exclude most of printing, it's not ported yet. - 'browser/printing/print_job_worker_owner.h', - 'browser/printing/printer_query.cc', - 'browser/printing/printer_query.h', # Exclude extension shelf for toolstrips. 'browser/views/extensions/extension_shelf.cc', 'browser/views/extensions/extension_shelf.h', -- cgit v1.1