| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 bool isLocalDOMWindow() const override { return true; } | 331 bool isLocalDOMWindow() const override { return true; } |
| 332 bool isRemoteDOMWindow() const override { return false; } | 332 bool isRemoteDOMWindow() const override { return false; } |
| 333 void warnUnusedPreloads(TimerBase*); | 333 void warnUnusedPreloads(TimerBase*); |
| 334 | 334 |
| 335 explicit LocalDOMWindow(LocalFrame&); | 335 explicit LocalDOMWindow(LocalFrame&); |
| 336 void dispose(); | 336 void dispose(); |
| 337 | 337 |
| 338 void dispatchLoadEvent(); | 338 void dispatchLoadEvent(); |
| 339 void clearDocument(); | 339 void clearDocument(); |
| 340 | 340 |
| 341 void willDetachFrameHost(); | |
| 342 | |
| 343 Member<Document> m_document; | 341 Member<Document> m_document; |
| 344 Member<DOMVisualViewport> m_visualViewport; | 342 Member<DOMVisualViewport> m_visualViewport; |
| 345 TaskRunnerTimer<LocalDOMWindow> m_unusedPreloadsTimer; | 343 TaskRunnerTimer<LocalDOMWindow> m_unusedPreloadsTimer; |
| 346 | 344 |
| 347 bool m_shouldPrintWhenFinishedLoading; | 345 bool m_shouldPrintWhenFinishedLoading; |
| 348 | 346 |
| 349 mutable Member<Screen> m_screen; | 347 mutable Member<Screen> m_screen; |
| 350 mutable Member<History> m_history; | 348 mutable Member<History> m_history; |
| 351 mutable Member<BarProp> m_locationbar; | 349 mutable Member<BarProp> m_locationbar; |
| 352 mutable Member<BarProp> m_menubar; | 350 mutable Member<BarProp> m_menubar; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 381 return m_status; | 379 return m_status; |
| 382 } | 380 } |
| 383 | 381 |
| 384 inline String LocalDOMWindow::defaultStatus() const { | 382 inline String LocalDOMWindow::defaultStatus() const { |
| 385 return m_defaultStatus; | 383 return m_defaultStatus; |
| 386 } | 384 } |
| 387 | 385 |
| 388 } // namespace blink | 386 } // namespace blink |
| 389 | 387 |
| 390 #endif // LocalDOMWindow_h | 388 #endif // LocalDOMWindow_h |
| OLD | NEW |