Chromium Code Reviews| 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 CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 int64 idle_notification_delay_in_ms) = 0; | 101 int64 idle_notification_delay_in_ms) = 0; |
| 102 | 102 |
| 103 #if defined(OS_WIN) | 103 #if defined(OS_WIN) |
| 104 // Request that the given font be loaded by the browser so it's cached by the | 104 // Request that the given font be loaded by the browser so it's cached by the |
| 105 // OS. Please see ChildProcessHost::PreCacheFont for details. | 105 // OS. Please see ChildProcessHost::PreCacheFont for details. |
| 106 virtual void PreCacheFont(const LOGFONT& log_font) = 0; | 106 virtual void PreCacheFont(const LOGFONT& log_font) = 0; |
| 107 | 107 |
| 108 // Release cached font. | 108 // Release cached font. |
| 109 virtual void ReleaseCachedFonts() = 0; | 109 virtual void ReleaseCachedFonts() = 0; |
| 110 #endif | 110 #endif |
| 111 | |
| 112 // Suspend/resume the webkit timer for this renderer. | |
| 113 virtual void ToggleWebKitSharedTimer(bool suspend) = 0; | |
|
jam
2012/07/11 20:59:27
nit: move above the platform specific block
Philippe
2012/07/17 15:45:24
Done.
| |
| 111 }; | 114 }; |
| 112 | 115 |
| 113 } // namespace content | 116 } // namespace content |
| 114 | 117 |
| 115 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 118 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
| OLD | NEW |