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

Side by Side Diff: printing/pdf_metafile_skia.h

Issue 1432443004: Remove SkDevice and SkBaseDevice outside skia/ext/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass SkPixmap by pointer to MakeBitmapOpaque Created 5 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
« no previous file with comments | « printing/metafile_skia_wrapper.cc ('k') | skia/ext/analysis_canvas.cc » ('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) 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 #ifndef PRINTING_PDF_METAFILE_SKIA_H_ 5 #ifndef PRINTING_PDF_METAFILE_SKIA_H_
6 #define PRINTING_PDF_METAFILE_SKIA_H_ 6 #define PRINTING_PDF_METAFILE_SKIA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "printing/metafile.h" 12 #include "printing/metafile.h"
13 #include "skia/ext/platform_canvas.h" 13 #include "skia/ext/platform_canvas.h"
14 14
15 #if defined(OS_WIN) 15 #if defined(OS_WIN)
16 #include <windows.h> 16 #include <windows.h>
17 #endif 17 #endif
18 18
19 class SkBaseDevice;
20
21 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) 19 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
22 namespace base { 20 namespace base {
23 struct FileDescriptor; 21 struct FileDescriptor;
24 } 22 }
25 #endif 23 #endif
26 24
27 namespace printing { 25 namespace printing {
28 26
29 struct PdfMetafileSkiaData; 27 struct PdfMetafileSkiaData;
30 28
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 83
86 private: 84 private:
87 scoped_ptr<PdfMetafileSkiaData> data_; 85 scoped_ptr<PdfMetafileSkiaData> data_;
88 86
89 DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); 87 DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia);
90 }; 88 };
91 89
92 } // namespace printing 90 } // namespace printing
93 91
94 #endif // PRINTING_PDF_METAFILE_SKIA_H_ 92 #endif // PRINTING_PDF_METAFILE_SKIA_H_
OLDNEW
« no previous file with comments | « printing/metafile_skia_wrapper.cc ('k') | skia/ext/analysis_canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698