OLD | NEW |
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 CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ |
6 #define CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ | 6 #define CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
11 #include "ipc/ipc_sender.h" | 10 #include "ipc/ipc_sender.h" |
12 | 11 |
13 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
14 #include <windows.h> | 13 #include <windows.h> |
15 #endif | 14 #endif |
16 | 15 |
17 namespace content { | 16 namespace content { |
(...skipping 16 matching lines...) Expand all Loading... |
34 virtual void PreCacheFont(const LOGFONT& log_font) = 0; | 33 virtual void PreCacheFont(const LOGFONT& log_font) = 0; |
35 | 34 |
36 // Release cached font. | 35 // Release cached font. |
37 virtual void ReleaseCachedFonts() = 0; | 36 virtual void ReleaseCachedFonts() = 0; |
38 #endif | 37 #endif |
39 }; | 38 }; |
40 | 39 |
41 } // namespace content | 40 } // namespace content |
42 | 41 |
43 #endif // CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ | 42 #endif // CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ |
OLD | NEW |