Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: printing/printed_document.cc

Issue 23116003: Adds PrintingContext implementation stub for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes some build targets and try bots. Some other nits. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 int cookie) 218 int cookie)
219 : settings_(settings), 219 : settings_(settings),
220 source_message_loop_(base::MessageLoop::current()), 220 source_message_loop_(base::MessageLoop::current()),
221 name_(source->RenderSourceName()), 221 name_(source->RenderSourceName()),
222 cookie_(cookie) { 222 cookie_(cookie) {
223 } 223 }
224 224
225 PrintedDocument::Immutable::~Immutable() { 225 PrintedDocument::Immutable::~Immutable() {
226 } 226 }
227 227
228 #if defined(OS_POSIX) && defined(USE_AURA) 228 #if (defined(OS_POSIX) && defined(USE_AURA)) || defined(OS_ANDROID)
229 // This function is not used on aura linux/chromeos. 229 // This function is not used on aura linux/chromeos or android.
230 void PrintedDocument::RenderPrintedPage(const PrintedPage& page, 230 void PrintedDocument::RenderPrintedPage(const PrintedPage& page,
231 PrintingContext* context) const { 231 PrintingContext* context) const {
232 } 232 }
233 #endif 233 #endif
234 234
235 } // namespace printing 235 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698