summaryrefslogtreecommitdiff
path: root/Source/WebCore/page/DOMTimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/page/DOMTimer.h')
-rw-r--r--Source/WebCore/page/DOMTimer.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/WebCore/page/DOMTimer.h b/Source/WebCore/page/DOMTimer.h
index d23898de0..e9c1446b3 100644
--- a/Source/WebCore/page/DOMTimer.h
+++ b/Source/WebCore/page/DOMTimer.h
@@ -35,10 +35,8 @@
namespace WebCore {
class ScheduledAction;
- class Settings;
class DOMTimer : public SuspendableTimer {
- friend class Settings;
public:
virtual ~DOMTimer();
// Creates a new timer owned by specified ScriptExecutionContext, starts it
@@ -61,27 +59,14 @@ namespace WebCore {
double intervalClampedToMinimum(int timeout, double minimumTimerInterval) const;
- // The default minimum allowable timer setting (in seconds, 0.001 == 1 ms).
- // These are only modified via static methods in Settings.
- static double defaultMinTimerInterval() { return s_minDefaultTimerInterval; }
- static void setDefaultMinTimerInterval(double value) { s_minDefaultTimerInterval = value; }
-
// Retuns timer fire time rounded to the next multiple of timer alignment interval.
virtual double alignedFireTime(double) const;
- // The default timer alignment interval (in seconds). If non zero, timer fire times
- // will be rounded to a multiple of the alignment interval.
- // These are only modified via static methods in Settings.
- static double defaultTimerAlignmentInterval() { return s_defaultTimerAlignmentInterval; }
- static void setDefaultTimerAlignmentInterval(double value) { s_defaultTimerAlignmentInterval = value; }
-
int m_timeoutId;
int m_nestingLevel;
OwnPtr<ScheduledAction> m_action;
int m_originalInterval;
RefPtr<UserGestureIndicator::Token> m_userGestureToken;
- static double s_minDefaultTimerInterval;
- static double s_defaultTimerAlignmentInterval;
};
} // namespace WebCore