| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "platform/v8_inspector/V8InjectedScriptHost.h" | 5 #include "platform/v8_inspector/V8InjectedScriptHost.h" |
| 6 | 6 |
| 7 #include "platform/inspector_protocol/String16.h" | 7 #include "platform/inspector_protocol/String16.h" |
| 8 #include "platform/v8_inspector/InjectedScriptNative.h" | 8 #include "platform/v8_inspector/InjectedScriptNative.h" |
| 9 #include "platform/v8_inspector/V8Compat.h" | 9 #include "platform/v8_inspector/V8Compat.h" |
| 10 #include "platform/v8_inspector/V8DebuggerImpl.h" | 10 #include "platform/v8_inspector/V8DebuggerImpl.h" |
| (...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 { | 275 { |
| 276 ASSERT(info.Length() > 0 && info[0]->IsObject()); | 276 ASSERT(info.Length() > 0 && info[0]->IsObject()); |
| 277 info.GetReturnValue().Set(info[0].As<v8::Object>()->GetPrototype()); | 277 info.GetReturnValue().Set(info[0].As<v8::Object>()->GetPrototype()); |
| 278 } | 278 } |
| 279 | 279 |
| 280 v8::Local<v8::Private> V8Debugger::scopeExtensionPrivate(v8::Isolate* isolate) | 280 v8::Local<v8::Private> V8Debugger::scopeExtensionPrivate(v8::Isolate* isolate) |
| 281 { | 281 { |
| 282 return v8::Private::ForApi(isolate, toV8StringInternalized(isolate, "V8Debug
ger#scopeExtension")); | 282 return v8::Private::ForApi(isolate, toV8StringInternalized(isolate, "V8Debug
ger#scopeExtension")); |
| 283 } | 283 } |
| 284 | 284 |
| 285 bool V8Debugger::isRemoteObjectAPIMethod(const String16& name) | |
| 286 { | |
| 287 return name == "bindRemoteObject"; | |
| 288 } | |
| 289 | |
| 290 } // namespace blink | 285 } // namespace blink |
| OLD | NEW |