OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2012 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2012 Google Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 | 138 |
139 // Interval is in seconds. | 139 // Interval is in seconds. |
140 void adjustMinimumTimerInterval(double oldMinimumTimerInterval); | 140 void adjustMinimumTimerInterval(double oldMinimumTimerInterval); |
141 virtual double minimumTimerInterval() const; | 141 virtual double minimumTimerInterval() const; |
142 | 142 |
143 void didChangeTimerAlignmentInterval(); | 143 void didChangeTimerAlignmentInterval(); |
144 virtual double timerAlignmentInterval() const; | 144 virtual double timerAlignmentInterval() const; |
145 | 145 |
146 virtual EventQueue* eventQueue() const = 0; | 146 virtual EventQueue* eventQueue() const = 0; |
147 | 147 |
148 virtual void reportMemoryUsage(MemoryObjectInfo*) const OVERRIDE; | |
149 | |
150 void setDatabaseContext(DatabaseContext*); | 148 void setDatabaseContext(DatabaseContext*); |
151 | 149 |
152 protected: | 150 protected: |
153 class AddConsoleMessageTask : public Task { | 151 class AddConsoleMessageTask : public Task { |
154 public: | 152 public: |
155 static PassOwnPtr<AddConsoleMessageTask> create(MessageSource source, Me
ssageLevel level, const String& message) | 153 static PassOwnPtr<AddConsoleMessageTask> create(MessageSource source, Me
ssageLevel level, const String& message) |
156 { | 154 { |
157 return adoptPtr(new AddConsoleMessageTask(source, level, message)); | 155 return adoptPtr(new AddConsoleMessageTask(source, level, message)); |
158 } | 156 } |
159 virtual void performTask(ScriptExecutionContext*); | 157 virtual void performTask(ScriptExecutionContext*); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 bool m_activeDOMObjectsAreStopped; | 200 bool m_activeDOMObjectsAreStopped; |
203 | 201 |
204 OwnPtr<PublicURLManager> m_publicURLManager; | 202 OwnPtr<PublicURLManager> m_publicURLManager; |
205 | 203 |
206 RefPtr<DatabaseContext> m_databaseContext; | 204 RefPtr<DatabaseContext> m_databaseContext; |
207 }; | 205 }; |
208 | 206 |
209 } // namespace WebCore | 207 } // namespace WebCore |
210 | 208 |
211 #endif // ScriptExecutionContext_h | 209 #endif // ScriptExecutionContext_h |
OLD | NEW |