Chromium Code Reviews| Index: content/public/renderer/render_thread.h |
| diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h |
| index 2140e70eab82063c732d36c4bb3a08d4e55b834f..ef4caafc4f7d21a995e61f6a5569e916425d2f0c 100644 |
| --- a/content/public/renderer/render_thread.h |
| +++ b/content/public/renderer/render_thread.h |
| @@ -96,6 +96,11 @@ class CONTENT_EXPORT RenderThread : public IPC::Message::Sender { |
| virtual void SetIdleNotificationDelayInMs( |
| int64 idle_notification_delay_in_ms) = 0; |
| + // Causes the idle handler to skip sending idle notifications |
| + // on the two next scheduled calls, so idle notifications are |
| + // not sent for at least one notification delay. |
| + virtual void PostponeIdleNotification() = 0; |
|
jam
2011/11/23 17:35:19
we only add stuff to the public API that's needed
ulan
2011/11/23 18:39:15
Done.
|
| + |
| #if defined(OS_WIN) |
| // Request that the given font be loaded by the browser so it's cached by the |
| // OS. Please see ChildProcessHost::PreCacheFont for details. |