OLD | NEW |
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 CHROME_RENDERER_PEPPER_PEPPER_FLASH_FONT_FILE_HOST_H_ | 5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_FLASH_FONT_FILE_HOST_H_ |
6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_FONT_FILE_HOST_H_ | 6 #define CHROME_RENDERER_PEPPER_PEPPER_FLASH_FONT_FILE_HOST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
| 13 #include "build/build_config.h" |
10 #include "ppapi/c/private/pp_private_font_charset.h" | 14 #include "ppapi/c/private/pp_private_font_charset.h" |
11 #include "ppapi/host/resource_host.h" | 15 #include "ppapi/host/resource_host.h" |
12 | 16 |
13 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 17 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
14 #include "base/files/scoped_file.h" | 18 #include "base/files/scoped_file.h" |
15 #elif defined(OS_WIN) | 19 #elif defined(OS_WIN) |
16 #include "skia/ext/refptr.h" | 20 #include "skia/ext/refptr.h" |
17 #include "third_party/skia/include/core/SkTypeface.h" | 21 #include "third_party/skia/include/core/SkTypeface.h" |
18 #endif | 22 #endif |
19 | 23 |
(...skipping 29 matching lines...) Expand all Loading... |
49 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 53 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
50 base::ScopedFD fd_; | 54 base::ScopedFD fd_; |
51 #elif defined(OS_WIN) | 55 #elif defined(OS_WIN) |
52 skia::RefPtr<SkTypeface> typeface_; | 56 skia::RefPtr<SkTypeface> typeface_; |
53 #endif | 57 #endif |
54 | 58 |
55 DISALLOW_COPY_AND_ASSIGN(PepperFlashFontFileHost); | 59 DISALLOW_COPY_AND_ASSIGN(PepperFlashFontFileHost); |
56 }; | 60 }; |
57 | 61 |
58 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_FONT_FILE_HOST_H_ | 62 #endif // CHROME_RENDERER_PEPPER_PEPPER_FLASH_FONT_FILE_HOST_H_ |
OLD | NEW |