| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 | 573 |
| 574 Page* LocalDOMWindow::page() | 574 Page* LocalDOMWindow::page() |
| 575 { | 575 { |
| 576 return frame() ? frame()->page() : 0; | 576 return frame() ? frame()->page() : 0; |
| 577 } | 577 } |
| 578 | 578 |
| 579 void LocalDOMWindow::willDetachFrameHost() | 579 void LocalDOMWindow::willDetachFrameHost() |
| 580 { | 580 { |
| 581 frame()->host()->eventHandlerRegistry().didRemoveAllEventHandlers(*this); | 581 frame()->host()->eventHandlerRegistry().didRemoveAllEventHandlers(*this); |
| 582 frame()->host()->consoleMessageStorage().frameWindowDiscarded(this); | 582 frame()->host()->consoleMessageStorage().frameWindowDiscarded(this); |
| 583 InspectorInstrumentation::frameWindowDiscarded(frame(), this); | |
| 584 } | 583 } |
| 585 | 584 |
| 586 void LocalDOMWindow::willDestroyDocumentInFrame() | 585 void LocalDOMWindow::willDestroyDocumentInFrame() |
| 587 { | 586 { |
| 588 for (const auto& domWindowProperty : m_properties) | 587 for (const auto& domWindowProperty : m_properties) |
| 589 domWindowProperty->willDestroyGlobalObjectInFrame(); | 588 domWindowProperty->willDestroyGlobalObjectInFrame(); |
| 590 } | 589 } |
| 591 | 590 |
| 592 void LocalDOMWindow::willDetachDocumentFromFrame() | 591 void LocalDOMWindow::willDetachDocumentFromFrame() |
| 593 { | 592 { |
| (...skipping 1453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2047 return m_frameObserver->frame(); | 2046 return m_frameObserver->frame(); |
| 2048 } | 2047 } |
| 2049 | 2048 |
| 2050 v8::Handle<v8::Object> LocalDOMWindow::wrap(v8::Handle<v8::Object> creationConte
xt, v8::Isolate* isolate) | 2049 v8::Handle<v8::Object> LocalDOMWindow::wrap(v8::Handle<v8::Object> creationConte
xt, v8::Isolate* isolate) |
| 2051 { | 2050 { |
| 2052 ASSERT_NOT_REACHED(); // LocalDOMWindow has [Custom=ToV8]. | 2051 ASSERT_NOT_REACHED(); // LocalDOMWindow has [Custom=ToV8]. |
| 2053 return v8::Handle<v8::Object>(); | 2052 return v8::Handle<v8::Object>(); |
| 2054 } | 2053 } |
| 2055 | 2054 |
| 2056 } // namespace blink | 2055 } // namespace blink |
| OLD | NEW |