Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(554)

Side by Side Diff: Source/core/events/SecurityPolicyViolationEvent.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/events/ResourceProgressEvent.h ('k') | Source/core/events/TextEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/events/ResourceProgressEvent.h ('k') | Source/core/events/TextEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698