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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_H_ 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_JOB_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_H_ 6 #define CHROME_BROWSER_PRINTING_PRINT_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 29 matching lines...) Expand all
40 // Create a empty PrintJob. When initializing with this constructor, 40 // Create a empty PrintJob. When initializing with this constructor,
41 // post-constructor initialization must be done with Initialize(). 41 // post-constructor initialization must be done with Initialize().
42 PrintJob(); 42 PrintJob();
43 43
44 // Grabs the ownership of the PrintJobWorker from another job, which is 44 // Grabs the ownership of the PrintJobWorker from another job, which is
45 // usually a PrinterQuery. Set the expected page count of the print job. 45 // usually a PrinterQuery. Set the expected page count of the print job.
46 void Initialize(PrintJobWorkerOwner* job, PrintedPagesSource* source, 46 void Initialize(PrintJobWorkerOwner* job, PrintedPagesSource* source,
47 int page_count); 47 int page_count);
48 48
49 // NotificationObserver 49 // NotificationObserver
50 virtual void Observe(NotificationType type, 50 virtual void Observe(int type,
51 const NotificationSource& source, 51 const NotificationSource& source,
52 const NotificationDetails& details); 52 const NotificationDetails& details);
53 53
54 // PrintJobWorkerOwner 54 // PrintJobWorkerOwner
55 virtual void GetSettingsDone(const PrintSettings& new_settings, 55 virtual void GetSettingsDone(const PrintSettings& new_settings,
56 PrintingContext::Result result); 56 PrintingContext::Result result);
57 virtual PrintJobWorker* DetachWorker(PrintJobWorkerOwner* new_owner); 57 virtual PrintJobWorker* DetachWorker(PrintJobWorkerOwner* new_owner);
58 virtual MessageLoop* message_loop(); 58 virtual MessageLoop* message_loop();
59 virtual const PrintSettings& settings() const; 59 virtual const PrintSettings& settings() const;
60 virtual int cookie() const; 60 virtual int cookie() const;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 scoped_refptr<PrintedDocument> document_; 195 scoped_refptr<PrintedDocument> document_;
196 scoped_refptr<PrintedPage> page_; 196 scoped_refptr<PrintedPage> page_;
197 const Type type_; 197 const Type type_;
198 198
199 DISALLOW_COPY_AND_ASSIGN(JobEventDetails); 199 DISALLOW_COPY_AND_ASSIGN(JobEventDetails);
200 }; 200 };
201 201
202 } // namespace printing 202 } // namespace printing
203 203
204 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_H_ 204 #endif // CHROME_BROWSER_PRINTING_PRINT_JOB_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_unittest.cc ('k') | chrome/browser/printing/print_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698