| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 String violatedDirective; | 40 String violatedDirective; |
| 41 String effectiveDirective; | 41 String effectiveDirective; |
| 42 String originalPolicy; | 42 String originalPolicy; |
| 43 String sourceFile; | 43 String sourceFile; |
| 44 int lineNumber; | 44 int lineNumber; |
| 45 int columnNumber; | 45 int columnNumber; |
| 46 int statusCode; | 46 int statusCode; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 class SecurityPolicyViolationEvent FINAL : public Event { | 49 class SecurityPolicyViolationEvent FINAL : public Event { |
| 50 DEFINE_WRAPPERTYPEINFO(); |
| 50 public: | 51 public: |
| 51 static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create() | 52 static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create() |
| 52 { | 53 { |
| 53 return adoptRefWillBeNoop(new SecurityPolicyViolationEvent()); | 54 return adoptRefWillBeNoop(new SecurityPolicyViolationEvent()); |
| 54 } | 55 } |
| 55 | 56 |
| 56 static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create(const Ato
micString& type, const SecurityPolicyViolationEventInit& initializer) | 57 static PassRefPtrWillBeRawPtr<SecurityPolicyViolationEvent> create(const Ato
micString& type, const SecurityPolicyViolationEventInit& initializer) |
| 57 { | 58 { |
| 58 return adoptRefWillBeNoop(new SecurityPolicyViolationEvent(type, initial
izer)); | 59 return adoptRefWillBeNoop(new SecurityPolicyViolationEvent(type, initial
izer)); |
| 59 } | 60 } |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 String m_originalPolicy; | 104 String m_originalPolicy; |
| 104 String m_sourceFile; | 105 String m_sourceFile; |
| 105 int m_lineNumber; | 106 int m_lineNumber; |
| 106 int m_columnNumber; | 107 int m_columnNumber; |
| 107 int m_statusCode; | 108 int m_statusCode; |
| 108 }; | 109 }; |
| 109 | 110 |
| 110 } // namespace blink | 111 } // namespace blink |
| 111 | 112 |
| 112 #endif // SecurityPolicyViolationEvent_h | 113 #endif // SecurityPolicyViolationEvent_h |
| OLD | NEW |