Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Side by Side Diff: content/public/renderer/render_thread.h

Issue 10690023: Upstream support for WebKit shared timer toggling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Yaron's comments Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698