OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 const Frame* target, | 108 const Frame* target, |
109 ExceptionState&); | 109 ExceptionState&); |
110 static bool shouldAllowAccessToFrame(const LocalDOMWindow* accessingWindow, | 110 static bool shouldAllowAccessToFrame(const LocalDOMWindow* accessingWindow, |
111 const Frame* target, | 111 const Frame* target, |
112 ErrorReportOption); | 112 ErrorReportOption); |
113 // This overload must be used only for detached windows. | 113 // This overload must be used only for detached windows. |
114 static bool shouldAllowAccessToDetachedWindow( | 114 static bool shouldAllowAccessToDetachedWindow( |
115 const LocalDOMWindow* accessingWindow, | 115 const LocalDOMWindow* accessingWindow, |
116 const DOMWindow* target, | 116 const DOMWindow* target, |
117 ExceptionState&); | 117 ExceptionState&); |
| 118 |
| 119 static void failedAccessCheckFor(v8::Isolate*, const Frame* target); |
118 }; | 120 }; |
119 | 121 |
120 } // namespace blink | 122 } // namespace blink |
121 | 123 |
122 #endif // BindingSecurity_h | 124 #endif // BindingSecurity_h |
OLD | NEW |