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) 2009, 2011 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2009, 2011 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 String WorkerGlobalScope::userAgent() const | 141 String WorkerGlobalScope::userAgent() const |
142 { | 142 { |
143 return m_userAgent; | 143 return m_userAgent; |
144 } | 144 } |
145 | 145 |
146 void WorkerGlobalScope::disableEval(const String& errorMessage) | 146 void WorkerGlobalScope::disableEval(const String& errorMessage) |
147 { | 147 { |
148 m_script->disableEval(errorMessage); | 148 m_script->disableEval(errorMessage); |
149 } | 149 } |
150 | 150 |
151 double WorkerGlobalScope::timerAlignmentInterval() const | |
152 { | |
153 return DOMTimer::visiblePageAlignmentInterval(); | |
154 } | |
155 | |
156 DOMTimerCoordinator* WorkerGlobalScope::timers() | 151 DOMTimerCoordinator* WorkerGlobalScope::timers() |
157 { | 152 { |
158 return &m_timers; | 153 return &m_timers; |
159 } | 154 } |
160 | 155 |
161 WorkerLocation* WorkerGlobalScope::location() const | 156 WorkerLocation* WorkerGlobalScope::location() const |
162 { | 157 { |
163 if (!m_location) | 158 if (!m_location) |
164 m_location = WorkerLocation::create(m_url); | 159 m_location = WorkerLocation::create(m_url); |
165 return m_location.get(); | 160 return m_location.get(); |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 visitor->trace(m_pendingMessages); | 423 visitor->trace(m_pendingMessages); |
429 visitor->trace(m_eventListeners); | 424 visitor->trace(m_eventListeners); |
430 HeapSupplementable<WorkerGlobalScope>::trace(visitor); | 425 HeapSupplementable<WorkerGlobalScope>::trace(visitor); |
431 #endif | 426 #endif |
432 ExecutionContext::trace(visitor); | 427 ExecutionContext::trace(visitor); |
433 EventTargetWithInlineData::trace(visitor); | 428 EventTargetWithInlineData::trace(visitor); |
434 SecurityContext::trace(visitor); | 429 SecurityContext::trace(visitor); |
435 } | 430 } |
436 | 431 |
437 } // namespace blink | 432 } // namespace blink |
OLD | NEW |