OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 void StatePopped(PassRefPtr<SerializedScriptValue>); | 308 void StatePopped(PassRefPtr<SerializedScriptValue>); |
309 | 309 |
310 // FIXME: This shouldn't be public once LocalDOMWindow becomes | 310 // FIXME: This shouldn't be public once LocalDOMWindow becomes |
311 // ExecutionContext. | 311 // ExecutionContext. |
312 void ClearEventQueue(); | 312 void ClearEventQueue(); |
313 | 313 |
314 void AcceptLanguagesChanged(); | 314 void AcceptLanguagesChanged(); |
315 | 315 |
316 FloatSize GetViewportSize(IncludeScrollbarsInRect) const; | 316 FloatSize GetViewportSize(IncludeScrollbarsInRect) const; |
317 | 317 |
318 void SetHasLoadEventFired() { has_load_event_fired_ = true; } | |
319 bool HasLoadEventFired() { return has_load_event_fired_; } | |
320 | |
321 protected: | 318 protected: |
322 // EventTarget overrides. | 319 // EventTarget overrides. |
323 void AddedEventListener(const AtomicString& event_type, | 320 void AddedEventListener(const AtomicString& event_type, |
324 RegisteredEventListener&) override; | 321 RegisteredEventListener&) override; |
325 void RemovedEventListener(const AtomicString& event_type, | 322 void RemovedEventListener(const AtomicString& event_type, |
326 const RegisteredEventListener&) override; | 323 const RegisteredEventListener&) override; |
327 | 324 |
328 // Protected DOMWindow overrides. | 325 // Protected DOMWindow overrides. |
329 void SchedulePostMessage(MessageEvent*, | 326 void SchedulePostMessage(MessageEvent*, |
330 PassRefPtr<SecurityOrigin> target, | 327 PassRefPtr<SecurityOrigin> target, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 return status_; | 382 return status_; |
386 } | 383 } |
387 | 384 |
388 inline String LocalDOMWindow::defaultStatus() const { | 385 inline String LocalDOMWindow::defaultStatus() const { |
389 return default_status_; | 386 return default_status_; |
390 } | 387 } |
391 | 388 |
392 } // namespace blink | 389 } // namespace blink |
393 | 390 |
394 #endif // LocalDOMWindow_h | 391 #endif // LocalDOMWindow_h |
OLD | NEW |