Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1767)

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp

Issue 1973133002: ✀ Remove postMessage plumbing for swappedout:// ✀ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to use std::move instead of release(). Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
11 #include "core/dom/Document.h"
12 #include "core/frame/RemoteFrameClient.h"
11 13
12 namespace blink { 14 namespace blink {
13 15
14 ExecutionContext* RemoteDOMWindow::getExecutionContext() const 16 ExecutionContext* RemoteDOMWindow::getExecutionContext() const
15 { 17 {
16 return nullptr; 18 return nullptr;
17 } 19 }
18 20
19 DEFINE_TRACE(RemoteDOMWindow) 21 DEFINE_TRACE(RemoteDOMWindow)
20 { 22 {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 338 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
337 : m_frame(&frame) 339 : m_frame(&frame)
338 { 340 {
339 } 341 }
340 342
341 void RemoteDOMWindow::frameDetached() 343 void RemoteDOMWindow::frameDetached()
342 { 344 {
343 m_frame = nullptr; 345 m_frame = nullptr;
344 } 346 }
345 347
348 void RemoteDOMWindow::schedulePostMessage(MessageEvent* event, PassRefPtr<Securi tyOrigin> target, Document* source)
349 {
350 m_frame->client()->forwardPostMessage(event, target, source->frame());
351 }
352
346 } // namespace blink 353 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteDOMWindow.h ('k') | third_party/WebKit/Source/core/frame/RemoteFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698