| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 const AtomicString& RemoteDOMWindow::name() const | 140 const AtomicString& RemoteDOMWindow::name() const |
| 141 { | 141 { |
| 142 // FIXME: Implement. | 142 // FIXME: Implement. |
| 143 return emptyAtom; | 143 return emptyAtom; |
| 144 } | 144 } |
| 145 | 145 |
| 146 void RemoteDOMWindow::setName(const AtomicString&) | 146 void RemoteDOMWindow::setName(const AtomicString&) |
| 147 { | 147 { |
| 148 } | 148 } |
| 149 | 149 |
| 150 AtomicString RemoteDOMWindow::requiredCSP() const |
| 151 { |
| 152 return nullAtom; |
| 153 } |
| 154 |
| 155 void RemoteDOMWindow::setRequiredCSP(const AtomicString&) |
| 156 { |
| 157 } |
| 158 |
| 150 String RemoteDOMWindow::status() const | 159 String RemoteDOMWindow::status() const |
| 151 { | 160 { |
| 152 ASSERT_NOT_REACHED(); | 161 ASSERT_NOT_REACHED(); |
| 153 return String(); | 162 return String(); |
| 154 } | 163 } |
| 155 | 164 |
| 156 void RemoteDOMWindow::setStatus(const String&) | 165 void RemoteDOMWindow::setStatus(const String&) |
| 157 { | 166 { |
| 158 ASSERT_NOT_REACHED(); | 167 ASSERT_NOT_REACHED(); |
| 159 } | 168 } |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 { | 353 { |
| 345 m_frame = nullptr; | 354 m_frame = nullptr; |
| 346 } | 355 } |
| 347 | 356 |
| 348 void RemoteDOMWindow::schedulePostMessage(MessageEvent* event, PassRefPtr<Securi
tyOrigin> target, Document* source) | 357 void RemoteDOMWindow::schedulePostMessage(MessageEvent* event, PassRefPtr<Securi
tyOrigin> target, Document* source) |
| 349 { | 358 { |
| 350 m_frame->client()->forwardPostMessage(event, std::move(target), source->fram
e()); | 359 m_frame->client()->forwardPostMessage(event, std::move(target), source->fram
e()); |
| 351 } | 360 } |
| 352 | 361 |
| 353 } // namespace blink | 362 } // namespace blink |
| OLD | NEW |