0

We will need to support printing under Aura + ChromeOS (and we will have to remove Gtk too).

BUG=97131
TEST=none


Review URL: http://codereview.chromium.org/8165004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104244 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
saintlou@chromium.org
2011-10-06 04:32:56 +00:00
parent 322449a2a3
commit 8ad5f1d684
3 changed files with 39 additions and 0 deletions

@ -0,0 +1,18 @@
// Copyright (c) 2011 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/printed_document.h"
#include "base/logging.h"
namespace printing {
void PrintedDocument::RenderPrintedPage(
const PrintedPage& page, PrintingContext* context) const {
// TODO(saintlou): This a stub to allow us to build under Aura.
// See issue: http://crbug.com/99282
NOTIMPLEMENTED();
}
} // namespace printing

@ -54,6 +54,7 @@
'pdf_metafile_cg_mac.h',
'pdf_metafile_skia.h',
'pdf_metafile_skia.cc',
'printed_document_aura.cc',
'printed_document_cairo.cc',
'printed_document.cc',
'printed_document.h',
@ -64,6 +65,7 @@
'printed_pages_source.h',
'printing_context.cc',
'printing_context.h',
'printing_context_aura.cc',
'printing_context_cairo.cc',
'printing_context_cairo.h',
'printing_context_mac.mm',

@ -0,0 +1,19 @@
// Copyright (c) 2011 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/printing_context.h"
#include "base/logging.h"
namespace printing {
// static
PrintingContext* PrintingContext::Create(const std::string& app_locale) {
// TODO(saintlou): This a stub to allow us to build under Aura.
// See issue: http://crbug.com/99282
NOTIMPLEMENTED();
return NULL;
}
} // namespace printing