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

Unified Diff: webkit/support/webkit_support.h

Issue 6532012: Set the minimum timer interval on a per-page basis, and adjust it when... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« webkit/glue/webpreferences.cc ('K') | « webkit/glue/webpreferences.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.h
===================================================================
--- webkit/support/webkit_support.h (revision 75215)
+++ webkit/support/webkit_support.h (working copy)
@@ -41,6 +41,11 @@
// implementation classes.
namespace webkit_support {
+// - Timers
+
+// Keep this value in sync with that in webkit_glue.h!
+const double ForegroundTabTimerInterval = 0.004;
darin (slow to review) 2011/02/17 06:42:32 maybe it would be better to make this a function c
Ken Russell (switch to Gerrit) 2011/02/18 01:05:54 Changed to "double GetForegroundTabTimerInterval()
+
// Initializes or terminates a test environment.
// |unit_test_mode| should be set to true when running in a TestSuite, in which
// case no AtExitManager is created and ICU is not initialized (as it is already
« webkit/glue/webpreferences.cc ('K') | « webkit/glue/webpreferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698