| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #include "bindings/core/v8/V8LazyEventListener.h" | 31 #include "bindings/core/v8/V8LazyEventListener.h" |
| 32 | 32 |
| 33 #include "bindings/core/v8/ScriptController.h" | 33 #include "bindings/core/v8/ScriptController.h" |
| 34 #include "bindings/core/v8/ScriptSourceCode.h" | 34 #include "bindings/core/v8/ScriptSourceCode.h" |
| 35 #include "bindings/core/v8/SourceLocation.h" | 35 #include "bindings/core/v8/SourceLocation.h" |
| 36 #include "bindings/core/v8/V8BindingForCore.h" | 36 #include "bindings/core/v8/V8BindingForCore.h" |
| 37 #include "bindings/core/v8/V8Document.h" | 37 #include "bindings/core/v8/V8Document.h" |
| 38 #include "bindings/core/v8/V8HTMLFormElement.h" | 38 #include "bindings/core/v8/V8HTMLFormElement.h" |
| 39 #include "bindings/core/v8/V8Node.h" | 39 #include "bindings/core/v8/V8Node.h" |
| 40 #include "bindings/core/v8/V8PrivateProperty.h" | |
| 41 #include "bindings/core/v8/V8ScriptRunner.h" | 40 #include "bindings/core/v8/V8ScriptRunner.h" |
| 42 #include "core/dom/Document.h" | 41 #include "core/dom/Document.h" |
| 43 #include "core/dom/ExecutionContext.h" | 42 #include "core/dom/ExecutionContext.h" |
| 44 #include "core/dom/Node.h" | 43 #include "core/dom/Node.h" |
| 45 #include "core/events/ErrorEvent.h" | 44 #include "core/events/ErrorEvent.h" |
| 46 #include "core/frame/LocalFrame.h" | 45 #include "core/frame/LocalFrame.h" |
| 47 #include "core/frame/csp/ContentSecurityPolicy.h" | 46 #include "core/frame/csp/ContentSecurityPolicy.h" |
| 48 #include "core/html/HTMLElement.h" | 47 #include "core/html/HTMLElement.h" |
| 49 #include "core/html/HTMLFormElement.h" | 48 #include "core/html/HTMLFormElement.h" |
| 50 #include "platform/bindings/V8DOMWrapper.h" | 49 #include "platform/bindings/V8DOMWrapper.h" |
| 50 #include "platform/bindings/V8PrivateProperty.h" |
| 51 #include "platform/wtf/StdLibExtras.h" | 51 #include "platform/wtf/StdLibExtras.h" |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| 54 | 54 |
| 55 V8LazyEventListener::V8LazyEventListener( | 55 V8LazyEventListener::V8LazyEventListener( |
| 56 v8::Isolate* isolate, | 56 v8::Isolate* isolate, |
| 57 const AtomicString& function_name, | 57 const AtomicString& function_name, |
| 58 const AtomicString& event_parameter_name, | 58 const AtomicString& event_parameter_name, |
| 59 const String& code, | 59 const String& code, |
| 60 const String source_url, | 60 const String source_url, |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 AccessControlStatus access_control_status = kNotSharableCrossOrigin; | 247 AccessControlStatus access_control_status = kNotSharableCrossOrigin; |
| 248 if (message->IsOpaque()) | 248 if (message->IsOpaque()) |
| 249 access_control_status = kOpaqueResource; | 249 access_control_status = kOpaqueResource; |
| 250 else if (message->IsSharedCrossOrigin()) | 250 else if (message->IsSharedCrossOrigin()) |
| 251 access_control_status = kSharableCrossOrigin; | 251 access_control_status = kSharableCrossOrigin; |
| 252 | 252 |
| 253 execution_context->DispatchErrorEvent(event, access_control_status); | 253 execution_context->DispatchErrorEvent(event, access_control_status); |
| 254 } | 254 } |
| 255 | 255 |
| 256 } // namespace blink | 256 } // namespace blink |
| OLD | NEW |