| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007-2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2007-2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "bindings/v8/custom/V8Int16ArrayCustom.h" | 49 #include "bindings/v8/custom/V8Int16ArrayCustom.h" |
| 50 #include "bindings/v8/custom/V8Int32ArrayCustom.h" | 50 #include "bindings/v8/custom/V8Int32ArrayCustom.h" |
| 51 #include "bindings/v8/custom/V8Int8ArrayCustom.h" | 51 #include "bindings/v8/custom/V8Int8ArrayCustom.h" |
| 52 #include "bindings/v8/custom/V8Uint16ArrayCustom.h" | 52 #include "bindings/v8/custom/V8Uint16ArrayCustom.h" |
| 53 #include "bindings/v8/custom/V8Uint32ArrayCustom.h" | 53 #include "bindings/v8/custom/V8Uint32ArrayCustom.h" |
| 54 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" | 54 #include "bindings/v8/custom/V8Uint8ArrayCustom.h" |
| 55 #include "bindings/v8/custom/V8Uint8ClampedArrayCustom.h" | 55 #include "bindings/v8/custom/V8Uint8ClampedArrayCustom.h" |
| 56 #include "core/inspector/InjectedScript.h" | 56 #include "core/inspector/InjectedScript.h" |
| 57 #include "core/inspector/InjectedScriptHost.h" | 57 #include "core/inspector/InjectedScriptHost.h" |
| 58 #include "core/inspector/InspectorDOMAgent.h" | 58 #include "core/inspector/InspectorDOMAgent.h" |
| 59 #include "core/platform/JSONValues.h" | |
| 60 #include "modules/webdatabase/Database.h" | 59 #include "modules/webdatabase/Database.h" |
| 60 #include "platform/JSONValues.h" |
| 61 | 61 |
| 62 namespace WebCore { | 62 namespace WebCore { |
| 63 | 63 |
| 64 Node* InjectedScriptHost::scriptValueAsNode(ScriptValue value) | 64 Node* InjectedScriptHost::scriptValueAsNode(ScriptValue value) |
| 65 { | 65 { |
| 66 v8::HandleScope scope(value.isolate()); | 66 v8::HandleScope scope(value.isolate()); |
| 67 if (!value.isObject() || value.isNull()) | 67 if (!value.isObject() || value.isNull()) |
| 68 return 0; | 68 return 0; |
| 69 return V8Node::toNative(v8::Handle<v8::Object>::Cast(value.v8Value())); | 69 return V8Node::toNative(v8::Handle<v8::Object>::Cast(value.v8Value())); |
| 70 } | 70 } |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 int lineNumber; | 428 int lineNumber; |
| 429 int columnNumber; | 429 int columnNumber; |
| 430 if (!getFunctionLocation(args, &scriptId, &lineNumber, &columnNumber)) | 430 if (!getFunctionLocation(args, &scriptId, &lineNumber, &columnNumber)) |
| 431 return; | 431 return; |
| 432 | 432 |
| 433 InjectedScriptHost* host = V8InjectedScriptHost::toNative(args.Holder()); | 433 InjectedScriptHost* host = V8InjectedScriptHost::toNative(args.Holder()); |
| 434 host->unmonitorFunction(scriptId, lineNumber, columnNumber); | 434 host->unmonitorFunction(scriptId, lineNumber, columnNumber); |
| 435 } | 435 } |
| 436 | 436 |
| 437 } // namespace WebCore | 437 } // namespace WebCore |
| OLD | NEW |