| 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // injected into the DOM. | 293 // injected into the DOM. |
| 294 // | 294 // |
| 295 // FIXME: Setting this simply bypasses the protected resource's CSP. It | 295 // FIXME: Setting this simply bypasses the protected resource's CSP. It |
| 296 // doesn't yet restrict the isolated world to the provided policy. | 296 // doesn't yet restrict the isolated world to the provided policy. |
| 297 virtual void setIsolatedWorldContentSecurityPolicy( | 297 virtual void setIsolatedWorldContentSecurityPolicy( |
| 298 int worldID, const WebString&) = 0; | 298 int worldID, const WebString&) = 0; |
| 299 | 299 |
| 300 // Logs to the console associated with this frame. | 300 // Logs to the console associated with this frame. |
| 301 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; | 301 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; |
| 302 | 302 |
| 303 // Logs a security related message to the console associated with this frame
. |
| 304 virtual void addSecurityMessageToConsole(const WebConsoleMessage&) = 0; |
| 305 |
| 303 // Calls window.gc() if it is defined. | 306 // Calls window.gc() if it is defined. |
| 304 virtual void collectGarbage() = 0; | 307 virtual void collectGarbage() = 0; |
| 305 | 308 |
| 306 // Executes script in the context of the current page and returns the value | 309 // Executes script in the context of the current page and returns the value |
| 307 // that the script evaluated to. | 310 // that the script evaluated to. |
| 308 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue. | 311 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue. |
| 309 virtual v8::Local<v8::Value> executeScriptAndReturnValue( | 312 virtual v8::Local<v8::Value> executeScriptAndReturnValue( |
| 310 const WebScriptSource&) = 0; | 313 const WebScriptSource&) = 0; |
| 311 | 314 |
| 312 // worldID must be > 0 (as 0 represents the main world). | 315 // worldID must be > 0 (as 0 represents the main world). |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 WebFrame* m_firstChild; | 601 WebFrame* m_firstChild; |
| 599 WebFrame* m_lastChild; | 602 WebFrame* m_lastChild; |
| 600 | 603 |
| 601 WebFrame* m_opener; | 604 WebFrame* m_opener; |
| 602 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 605 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
| 603 }; | 606 }; |
| 604 | 607 |
| 605 } // namespace blink | 608 } // namespace blink |
| 606 | 609 |
| 607 #endif | 610 #endif |
| OLD | NEW |