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

Side by Side Diff: chrome/browser/printing/print_job.cc

Issue 740983002: Implement window.print() on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/printing/print_job.h" 5 #include "chrome/browser/printing/print_job.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/threading/thread_restrictions.h" 10 #include "base/threading/thread_restrictions.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 break; 95 break;
96 } 96 }
97 } 97 }
98 } 98 }
99 99
100 void PrintJob::GetSettingsDone(const PrintSettings& new_settings, 100 void PrintJob::GetSettingsDone(const PrintSettings& new_settings,
101 PrintingContext::Result result) { 101 PrintingContext::Result result) {
102 NOTREACHED(); 102 NOTREACHED();
103 } 103 }
104 104
105 void PrintJob::ShowSystemDialogDone(PrintingContext::Result result) {
106 NOTREACHED();
107 }
108
105 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) { 109 PrintJobWorker* PrintJob::DetachWorker(PrintJobWorkerOwner* new_owner) {
106 NOTREACHED(); 110 NOTREACHED();
107 return NULL; 111 return NULL;
108 } 112 }
109 113
110 const PrintSettings& PrintJob::settings() const { 114 const PrintSettings& PrintJob::settings() const {
111 return settings_; 115 return settings_;
112 } 116 }
113 117
114 int PrintJob::cookie() const { 118 int PrintJob::cookie() const {
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 } 456 }
453 457
454 JobEventDetails::~JobEventDetails() { 458 JobEventDetails::~JobEventDetails() {
455 } 459 }
456 460
457 PrintedDocument* JobEventDetails::document() const { return document_.get(); } 461 PrintedDocument* JobEventDetails::document() const { return document_.get(); }
458 462
459 PrintedPage* JobEventDetails::page() const { return page_.get(); } 463 PrintedPage* JobEventDetails::page() const { return page_.get(); }
460 464
461 } // namespace printing 465 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698