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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 void StatePopped(PassRefPtr<SerializedScriptValue>); | 309 void StatePopped(PassRefPtr<SerializedScriptValue>); |
310 | 310 |
311 // FIXME: This shouldn't be public once LocalDOMWindow becomes | 311 // FIXME: This shouldn't be public once LocalDOMWindow becomes |
312 // ExecutionContext. | 312 // ExecutionContext. |
313 void ClearEventQueue(); | 313 void ClearEventQueue(); |
314 | 314 |
315 void AcceptLanguagesChanged(); | 315 void AcceptLanguagesChanged(); |
316 | 316 |
317 FloatSize GetViewportSize(IncludeScrollbarsInRect) const; | 317 FloatSize GetViewportSize(IncludeScrollbarsInRect) const; |
318 | 318 |
319 void SetHasLoadEventFired() { has_load_event_fired_ = true; } | |
320 bool HasLoadEventFired() { return has_load_event_fired_; } | |
321 | |
322 protected: | 319 protected: |
323 // EventTarget overrides. | 320 // EventTarget overrides. |
324 void AddedEventListener(const AtomicString& event_type, | 321 void AddedEventListener(const AtomicString& event_type, |
325 RegisteredEventListener&) override; | 322 RegisteredEventListener&) override; |
326 void RemovedEventListener(const AtomicString& event_type, | 323 void RemovedEventListener(const AtomicString& event_type, |
327 const RegisteredEventListener&) override; | 324 const RegisteredEventListener&) override; |
328 | 325 |
329 // Protected DOMWindow overrides. | 326 // Protected DOMWindow overrides. |
330 void SchedulePostMessage(MessageEvent*, | 327 void SchedulePostMessage(MessageEvent*, |
331 PassRefPtr<SecurityOrigin> target, | 328 PassRefPtr<SecurityOrigin> target, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 return status_; | 390 return status_; |
394 } | 391 } |
395 | 392 |
396 inline String LocalDOMWindow::defaultStatus() const { | 393 inline String LocalDOMWindow::defaultStatus() const { |
397 return default_status_; | 394 return default_status_; |
398 } | 395 } |
399 | 396 |
400 } // namespace blink | 397 } // namespace blink |
401 | 398 |
402 #endif // LocalDOMWindow_h | 399 #endif // LocalDOMWindow_h |
OLD | NEW |