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

Side by Side Diff: printing/metafile.h

Issue 8538001: Cleanup: Remove unneeded forward declarations in printing, sandbox, and skia. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/emf_win.h ('k') | printing/pdf_metafile_cg_mac.h » ('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_METAFILE_H_ 5 #ifndef PRINTING_METAFILE_H_
6 #define PRINTING_METAFILE_H_ 6 #define PRINTING_METAFILE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "printing/printing_export.h" 10 #include "printing/printing_export.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 #if defined(OS_WIN) 13 #if defined(OS_WIN)
14 #include <windows.h> 14 #include <windows.h>
15 #elif defined(OS_MACOSX) 15 #elif defined(OS_MACOSX)
16 #include <ApplicationServices/ApplicationServices.h> 16 #include <ApplicationServices/ApplicationServices.h>
17 #include <CoreFoundation/CoreFoundation.h> 17 #include <CoreFoundation/CoreFoundation.h>
18 #include "base/mac/scoped_cftyperef.h" 18 #include "base/mac/scoped_cftyperef.h"
19 #endif 19 #endif
20 20
21 class FilePath; 21 class FilePath;
22 22
23 namespace gfx { 23 namespace gfx {
24 class Point;
25 class Rect; 24 class Rect;
26 class Size; 25 class Size;
27 } 26 }
28 27
29 class SkDevice; 28 class SkDevice;
30 29
31 #if defined(OS_CHROMEOS) 30 #if defined(OS_CHROMEOS)
32 namespace base { 31 namespace base {
33 struct FileDescriptor; 32 struct FileDescriptor;
34 } 33 }
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Saves the underlying data to the file associated with fd. This function 141 // Saves the underlying data to the file associated with fd. This function
143 // should ONLY be called after the metafile is closed. 142 // should ONLY be called after the metafile is closed.
144 // Returns true if writing succeeded. 143 // Returns true if writing succeeded.
145 virtual bool SaveToFD(const base::FileDescriptor& fd) const = 0; 144 virtual bool SaveToFD(const base::FileDescriptor& fd) const = 0;
146 #endif // if defined(OS_CHROMEOS) 145 #endif // if defined(OS_CHROMEOS)
147 }; 146 };
148 147
149 } // namespace printing 148 } // namespace printing
150 149
151 #endif // PRINTING_METAFILE_H_ 150 #endif // PRINTING_METAFILE_H_
OLDNEW
« no previous file with comments | « printing/emf_win.h ('k') | printing/pdf_metafile_cg_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698