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

Side by Side Diff: printing/printed_document.h

Issue 6544028: Create a Factory for NativeMetafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ARM compile failure fix Created 9 years, 9 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
« no previous file with comments | « printing/print_settings_initializer_gtk.cc ('k') | printing/printing.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 PRINTING_PRINTED_DOCUMENT_H_ 5 #ifndef PRINTING_PRINTED_DOCUMENT_H_
6 #define PRINTING_PRINTED_DOCUMENT_H_ 6 #define PRINTING_PRINTED_DOCUMENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/ref_counted.h" 10 #include "base/ref_counted.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 #include "printing/print_settings.h" 15 #include "printing/print_settings.h"
16 #include "printing/native_metafile.h"
17 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
18 17
19 class FilePath; 18 class FilePath;
20 class MessageLoop; 19 class MessageLoop;
21 20
22 namespace gfx { 21 namespace gfx {
23 class Font; 22 class Font;
24 } 23 }
25 24
26 namespace printing { 25 namespace printing {
27 26
27 class NativeMetafile;
28 class PrintedPage; 28 class PrintedPage;
29 class PrintedPagesSource; 29 class PrintedPagesSource;
30 class PrintingContext; 30 class PrintingContext;
31 31
32 // A collection of rendered pages. The settings are immutable. If the print 32 // A collection of rendered pages. The settings are immutable. If the print
33 // settings are changed, a new PrintedDocument must be created. 33 // settings are changed, a new PrintedDocument must be created.
34 // Warning: May be accessed from many threads at the same time. Only one thread 34 // Warning: May be accessed from many threads at the same time. Only one thread
35 // will have write access. Sensible functions are protected by a lock. 35 // will have write access. Sensible functions are protected by a lock.
36 // Warning: Once a page is loaded, it cannot be replaced. Pages may be discarded 36 // Warning: Once a page is loaded, it cannot be replaced. Pages may be discarded
37 // under low memory conditions. 37 // under low memory conditions.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // All the immutable members. 208 // All the immutable members.
209 const Immutable immutable_; 209 const Immutable immutable_;
210 210
211 DISALLOW_COPY_AND_ASSIGN(PrintedDocument); 211 DISALLOW_COPY_AND_ASSIGN(PrintedDocument);
212 }; 212 };
213 213
214 } // namespace printing 214 } // namespace printing
215 215
216 #endif // PRINTING_PRINTED_DOCUMENT_H_ 216 #endif // PRINTING_PRINTED_DOCUMENT_H_
OLDNEW
« no previous file with comments | « printing/print_settings_initializer_gtk.cc ('k') | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698