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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
100 int64 idle_notification_delay_in_ms) = 0; | 100 int64 idle_notification_delay_in_ms) = 0; |
101 | 101 |
102 #if defined(OS_WIN) | 102 #if defined(OS_WIN) |
103 // Request that the given font be loaded by the browser so it's cached by the | 103 // Request that the given font be loaded by the browser so it's cached by the |
104 // OS. Please see ChildProcessHost::PreCacheFont for details. | 104 // OS. Please see ChildProcessHost::PreCacheFont for details. |
105 virtual void PreCacheFont(const LOGFONT& log_font) = 0; | 105 virtual void PreCacheFont(const LOGFONT& log_font) = 0; |
106 | 106 |
107 // Release cached font. | 107 // Release cached font. |
108 virtual void ReleaseCachedFonts() = 0; | 108 virtual void ReleaseCachedFonts() = 0; |
109 #endif | 109 #endif |
110 | |
111 // Upload renderer's histograms to browser process. This is initiated by the | |
112 // renderer process when the onload is complete. | |
jam
2012/06/07 03:34:33
nit: i think you're describing what chrome does he
ramant (doing other things)
2012/06/07 23:39:25
Done.
| |
113 virtual void UpdateHistograms(int sequence_number) = 0; | |
110 }; | 114 }; |
111 | 115 |
112 } // namespace content | 116 } // namespace content |
113 | 117 |
114 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ | 118 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ |
OLD | NEW |