| 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 "web/WebRemoteFrameImpl.h" | 5 #include "web/WebRemoteFrameImpl.h" |
| 6 | 6 |
| 7 #include "core/dom/Fullscreen.h" | 7 #include "core/dom/Fullscreen.h" |
| 8 #include "core/dom/RemoteSecurityContext.h" | 8 #include "core/dom/RemoteSecurityContext.h" |
| 9 #include "core/dom/SecurityContext.h" | 9 #include "core/dom/SecurityContext.h" |
| 10 #include "core/frame/FrameView.h" | 10 #include "core/frame/FrameView.h" |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 NOTREACHED(); | 157 NOTREACHED(); |
| 158 } | 158 } |
| 159 | 159 |
| 160 void WebRemoteFrameImpl::executeScript(const WebScriptSource&) { | 160 void WebRemoteFrameImpl::executeScript(const WebScriptSource&) { |
| 161 NOTREACHED(); | 161 NOTREACHED(); |
| 162 } | 162 } |
| 163 | 163 |
| 164 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( | 164 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( |
| 165 int worldID, | 165 int worldID, |
| 166 const WebScriptSource* sources, | 166 const WebScriptSource* sources, |
| 167 unsigned numSources, | 167 unsigned numSources) { |
| 168 int extensionGroup) { | |
| 169 NOTREACHED(); | 168 NOTREACHED(); |
| 170 } | 169 } |
| 171 | 170 |
| 172 void WebRemoteFrameImpl::setIsolatedWorldSecurityOrigin( | 171 void WebRemoteFrameImpl::setIsolatedWorldSecurityOrigin( |
| 173 int worldID, | 172 int worldID, |
| 174 const WebSecurityOrigin&) { | 173 const WebSecurityOrigin&) { |
| 175 NOTREACHED(); | 174 NOTREACHED(); |
| 176 } | 175 } |
| 177 | 176 |
| 178 void WebRemoteFrameImpl::setIsolatedWorldContentSecurityPolicy( | 177 void WebRemoteFrameImpl::setIsolatedWorldContentSecurityPolicy( |
| 179 int worldID, | 178 int worldID, |
| 180 const WebString&) { | 179 const WebString&) { |
| 181 NOTREACHED(); | 180 NOTREACHED(); |
| 182 } | 181 } |
| 183 | 182 |
| 184 void WebRemoteFrameImpl::collectGarbage() { | 183 void WebRemoteFrameImpl::collectGarbage() { |
| 185 NOTREACHED(); | 184 NOTREACHED(); |
| 186 } | 185 } |
| 187 | 186 |
| 188 v8::Local<v8::Value> WebRemoteFrameImpl::executeScriptAndReturnValue( | 187 v8::Local<v8::Value> WebRemoteFrameImpl::executeScriptAndReturnValue( |
| 189 const WebScriptSource&) { | 188 const WebScriptSource&) { |
| 190 NOTREACHED(); | 189 NOTREACHED(); |
| 191 return v8::Local<v8::Value>(); | 190 return v8::Local<v8::Value>(); |
| 192 } | 191 } |
| 193 | 192 |
| 194 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( | 193 void WebRemoteFrameImpl::executeScriptInIsolatedWorld( |
| 195 int worldID, | 194 int worldID, |
| 196 const WebScriptSource* sourcesIn, | 195 const WebScriptSource* sourcesIn, |
| 197 unsigned numSources, | 196 unsigned numSources, |
| 198 int extensionGroup, | |
| 199 WebVector<v8::Local<v8::Value>>* results) { | 197 WebVector<v8::Local<v8::Value>>* results) { |
| 200 NOTREACHED(); | 198 NOTREACHED(); |
| 201 } | 199 } |
| 202 | 200 |
| 203 v8::Local<v8::Value> WebRemoteFrameImpl::callFunctionEvenIfScriptDisabled( | 201 v8::Local<v8::Value> WebRemoteFrameImpl::callFunctionEvenIfScriptDisabled( |
| 204 v8::Local<v8::Function>, | 202 v8::Local<v8::Function>, |
| 205 v8::Local<v8::Value>, | 203 v8::Local<v8::Value>, |
| 206 int argc, | 204 int argc, |
| 207 v8::Local<v8::Value> argv[]) { | 205 v8::Local<v8::Value> argv[]) { |
| 208 NOTREACHED(); | 206 NOTREACHED(); |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 } | 521 } |
| 524 | 522 |
| 525 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, | 523 WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, |
| 526 WebRemoteFrameClient* client) | 524 WebRemoteFrameClient* client) |
| 527 : WebRemoteFrame(scope), | 525 : WebRemoteFrame(scope), |
| 528 m_frameClient(RemoteFrameClientImpl::create(this)), | 526 m_frameClient(RemoteFrameClientImpl::create(this)), |
| 529 m_client(client), | 527 m_client(client), |
| 530 m_selfKeepAlive(this) {} | 528 m_selfKeepAlive(this) {} |
| 531 | 529 |
| 532 } // namespace blink | 530 } // namespace blink |
| OLD | NEW |