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 "core/frame/RemoteDOMWindow.h" | 5 #include "core/frame/RemoteDOMWindow.h" |
6 | 6 |
7 #include "bindings/core/v8/SerializedScriptValue.h" | 7 #include "bindings/core/v8/SerializedScriptValue.h" |
8 #include "core/css/CSSRuleList.h" | 8 #include "core/css/CSSRuleList.h" |
9 #include "core/css/CSSStyleDeclaration.h" | 9 #include "core/css/CSSStyleDeclaration.h" |
10 #include "core/css/MediaQueryList.h" | 10 #include "core/css/MediaQueryList.h" |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 { | 322 { |
323 ASSERT_NOT_REACHED(); | 323 ASSERT_NOT_REACHED(); |
324 return 0; | 324 return 0; |
325 } | 325 } |
326 | 326 |
327 void RemoteDOMWindow::cancelIdleCallback(int id) | 327 void RemoteDOMWindow::cancelIdleCallback(int id) |
328 { | 328 { |
329 ASSERT_NOT_REACHED(); | 329 ASSERT_NOT_REACHED(); |
330 } | 330 } |
331 | 331 |
332 CustomElementsRegistry* RemoteDOMWindow::customElements(ScriptState*) const | 332 CustomElementRegistry* RemoteDOMWindow::customElements(ScriptState*) const |
333 { | 333 { |
334 ASSERT_NOT_REACHED(); | 334 ASSERT_NOT_REACHED(); |
335 return nullptr; | 335 return nullptr; |
336 } | 336 } |
337 | 337 |
338 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) | 338 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) |
339 : m_frame(&frame) | 339 : m_frame(&frame) |
340 { | 340 { |
341 } | 341 } |
342 | 342 |
343 void RemoteDOMWindow::frameDetached() | 343 void RemoteDOMWindow::frameDetached() |
344 { | 344 { |
345 m_frame = nullptr; | 345 m_frame = nullptr; |
346 } | 346 } |
347 | 347 |
348 void RemoteDOMWindow::schedulePostMessage(MessageEvent* event, PassRefPtr<Securi
tyOrigin> target, Document* source) | 348 void RemoteDOMWindow::schedulePostMessage(MessageEvent* event, PassRefPtr<Securi
tyOrigin> target, Document* source) |
349 { | 349 { |
350 m_frame->client()->forwardPostMessage(event, target, source->frame()); | 350 m_frame->client()->forwardPostMessage(event, target, source->frame()); |
351 } | 351 } |
352 | 352 |
353 } // namespace blink | 353 } // namespace blink |
OLD | NEW |