Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "printing/printed_document.h" | 5 #include "printing/printed_document.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 int cookie) | 223 int cookie) |
| 224 : settings_(settings), | 224 : settings_(settings), |
| 225 source_message_loop_(MessageLoop::current()), | 225 source_message_loop_(MessageLoop::current()), |
| 226 name_(source->RenderSourceName()), | 226 name_(source->RenderSourceName()), |
| 227 cookie_(cookie) { | 227 cookie_(cookie) { |
| 228 } | 228 } |
| 229 | 229 |
| 230 PrintedDocument::Immutable::~Immutable() { | 230 PrintedDocument::Immutable::~Immutable() { |
| 231 } | 231 } |
| 232 | 232 |
| 233 #if defined(OS_POSIX) && defined(USE_AURA) | |
|
Albert Bodenhamer
2011/12/01 01:09:05
Shouldn't this be OS_CHROMEOS || USE_AURA?
jennyz
2011/12/02 14:40:18
This function signature is only declared for OS_PO
Albert Bodenhamer
2011/12/02 17:57:17
On chrome os there is no native printing, only clo
| |
| 234 // This function is not used on aura linux/chromeos. | |
| 235 void PrintedDocument::RenderPrintedPage(const PrintedPage& page, | |
| 236 PrintingContext* context) const { | |
| 237 NOTIMPLEMENTED(); | |
|
Albert Bodenhamer
2011/12/01 00:47:23
I don't think NOTIMPLEMENTED is correct here. NOT
jennyz
2011/12/02 14:40:18
Done.
| |
| 238 } | |
| 239 #endif | |
| 240 | |
| 233 } // namespace printing | 241 } // namespace printing |
| OLD | NEW |