summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 04:32:56 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-06 04:32:56 +0000
commit8ad5f1d684fa801c35c7227e84b256056cc2e558 (patch)
tree25e69e6e2568b329022981300b791e2cd359b487 /printing
parent322449a2a3f9d15d9c306351c7026e140c58f183 (diff)
downloadchromium_src-8ad5f1d684fa801c35c7227e84b256056cc2e558.zip
chromium_src-8ad5f1d684fa801c35c7227e84b256056cc2e558.tar.gz
chromium_src-8ad5f1d684fa801c35c7227e84b256056cc2e558.tar.bz2
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
Diffstat (limited to 'printing')
-rw-r--r--printing/printed_document_aura.cc18
-rw-r--r--printing/printing.gyp2
-rw-r--r--printing/printing_context_aura.cc19
3 files changed, 39 insertions, 0 deletions
diff --git a/printing/printed_document_aura.cc b/printing/printed_document_aura.cc
new file mode 100644
index 0000000..a5e4b03
--- /dev/null
+++ b/printing/printed_document_aura.cc
@@ -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
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 4d7aa20..256a144 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -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',
diff --git a/printing/printing_context_aura.cc b/printing/printing_context_aura.cc
new file mode 100644
index 0000000..48c958b
--- /dev/null
+++ b/printing/printing_context_aura.cc
@@ -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