OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "core/frame/RemoteDOMWindow.h" | 6 #include "core/frame/RemoteDOMWindow.h" |
7 | 7 |
8 #include "bindings/core/v8/SerializedScriptValue.h" | 8 #include "bindings/core/v8/SerializedScriptValue.h" |
9 #include "core/css/CSSRuleList.h" | 9 #include "core/css/CSSRuleList.h" |
10 #include "core/css/CSSStyleDeclaration.h" | 10 #include "core/css/CSSStyleDeclaration.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 void RemoteDOMWindow::cancelIdleCallback(int id) | 337 void RemoteDOMWindow::cancelIdleCallback(int id) |
338 { | 338 { |
339 ASSERT_NOT_REACHED(); | 339 ASSERT_NOT_REACHED(); |
340 } | 340 } |
341 | 341 |
342 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) | 342 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) |
343 : m_frame(&frame) | 343 : m_frame(&frame) |
344 { | 344 { |
345 } | 345 } |
346 | 346 |
| 347 void RemoteDOMWindow::frameDetached() |
| 348 { |
| 349 m_frame = nullptr; |
| 350 } |
| 351 |
347 } // namespace blink | 352 } // namespace blink |
OLD | NEW |