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 27 matching lines...) Expand all Loading... |
38 #include "bindings/core/v8/V8AbstractEventListener.h" | 38 #include "bindings/core/v8/V8AbstractEventListener.h" |
39 #include "bindings/core/v8/V8Binding.h" | 39 #include "bindings/core/v8/V8Binding.h" |
40 #include "bindings/core/v8/V8DOMTokenList.h" | 40 #include "bindings/core/v8/V8DOMTokenList.h" |
41 #include "bindings/core/v8/V8EventTarget.h" | 41 #include "bindings/core/v8/V8EventTarget.h" |
42 #include "bindings/core/v8/V8HTMLAllCollection.h" | 42 #include "bindings/core/v8/V8HTMLAllCollection.h" |
43 #include "bindings/core/v8/V8HTMLCollection.h" | 43 #include "bindings/core/v8/V8HTMLCollection.h" |
44 #include "bindings/core/v8/V8Node.h" | 44 #include "bindings/core/v8/V8Node.h" |
45 #include "bindings/core/v8/V8NodeList.h" | 45 #include "bindings/core/v8/V8NodeList.h" |
46 #include "bindings/core/v8/V8ScriptRunner.h" | 46 #include "bindings/core/v8/V8ScriptRunner.h" |
47 #include "bindings/core/v8/V8Storage.h" | 47 #include "bindings/core/v8/V8Storage.h" |
48 #include "bindings/core/v8/custom/V8Float32ArrayCustom.h" | |
49 #include "bindings/core/v8/custom/V8Float64ArrayCustom.h" | |
50 #include "bindings/core/v8/custom/V8Int16ArrayCustom.h" | |
51 #include "bindings/core/v8/custom/V8Int32ArrayCustom.h" | |
52 #include "bindings/core/v8/custom/V8Int8ArrayCustom.h" | |
53 #include "bindings/core/v8/custom/V8Uint16ArrayCustom.h" | |
54 #include "bindings/core/v8/custom/V8Uint32ArrayCustom.h" | |
55 #include "bindings/core/v8/custom/V8Uint8ArrayCustom.h" | |
56 #include "bindings/core/v8/custom/V8Uint8ClampedArrayCustom.h" | |
57 #include "core/events/EventTarget.h" | 48 #include "core/events/EventTarget.h" |
58 #include "core/frame/LocalDOMWindow.h" | 49 #include "core/frame/LocalDOMWindow.h" |
59 #include "core/inspector/InjectedScript.h" | 50 #include "core/inspector/InjectedScript.h" |
60 #include "core/inspector/InjectedScriptHost.h" | 51 #include "core/inspector/InjectedScriptHost.h" |
61 #include "core/inspector/InspectorDOMAgent.h" | 52 #include "core/inspector/InspectorDOMAgent.h" |
62 #include "core/inspector/JavaScriptCallFrame.h" | 53 #include "core/inspector/JavaScriptCallFrame.h" |
63 #include "platform/JSONValues.h" | 54 #include "platform/JSONValues.h" |
64 | 55 |
65 namespace blink { | 56 namespace blink { |
66 | 57 |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 void V8InjectedScriptHost::setNonEnumPropertyMethodCustom(const v8::FunctionCall
backInfo<v8::Value>& info) | 494 void V8InjectedScriptHost::setNonEnumPropertyMethodCustom(const v8::FunctionCall
backInfo<v8::Value>& info) |
504 { | 495 { |
505 if (info.Length() < 3 || !info[0]->IsObject() || !info[1]->IsString()) | 496 if (info.Length() < 3 || !info[0]->IsObject() || !info[1]->IsString()) |
506 return; | 497 return; |
507 | 498 |
508 v8::Local<v8::Object> object = info[0]->ToObject(); | 499 v8::Local<v8::Object> object = info[0]->ToObject(); |
509 object->ForceSet(info[1], info[2], v8::DontEnum); | 500 object->ForceSet(info[1], info[2], v8::DontEnum); |
510 } | 501 } |
511 | 502 |
512 } // namespace blink | 503 } // namespace blink |
OLD | NEW |