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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 // doesn't yet restrict the isolated world to the provided policy. | 309 // doesn't yet restrict the isolated world to the provided policy. |
310 virtual void setIsolatedWorldContentSecurityPolicy( | 310 virtual void setIsolatedWorldContentSecurityPolicy( |
311 int worldID, const WebString&) = 0; | 311 int worldID, const WebString&) = 0; |
312 | 312 |
313 // Logs to the console associated with this frame. | 313 // Logs to the console associated with this frame. |
314 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; | 314 virtual void addMessageToConsole(const WebConsoleMessage&) = 0; |
315 | 315 |
316 // Calls window.gc() if it is defined. | 316 // Calls window.gc() if it is defined. |
317 virtual void collectGarbage() = 0; | 317 virtual void collectGarbage() = 0; |
318 | 318 |
319 // Check if the scripting URL represents a mixed content condition relative | |
320 // to this frame. | |
321 virtual bool checkIfRunInsecureContent(const WebURL&) const = 0; | |
322 | |
323 // Executes script in the context of the current page and returns the value | 319 // Executes script in the context of the current page and returns the value |
324 // that the script evaluated to. | 320 // that the script evaluated to. |
325 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue. | 321 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptAndReturnValue. |
326 virtual v8::Local<v8::Value> executeScriptAndReturnValue( | 322 virtual v8::Local<v8::Value> executeScriptAndReturnValue( |
327 const WebScriptSource&) = 0; | 323 const WebScriptSource&) = 0; |
328 | 324 |
329 // worldID must be > 0 (as 0 represents the main world). | 325 // worldID must be > 0 (as 0 represents the main world). |
330 // worldID must be < EmbedderWorldIdLimit, high number used internally. | 326 // worldID must be < EmbedderWorldIdLimit, high number used internally. |
331 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptInIsolatedWorld. | 327 // DEPRECATED: Use WebLocalFrame::requestExecuteScriptInIsolatedWorld. |
332 virtual void executeScriptInIsolatedWorld( | 328 virtual void executeScriptInIsolatedWorld( |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 WebFrame* m_firstChild; | 739 WebFrame* m_firstChild; |
744 WebFrame* m_lastChild; | 740 WebFrame* m_lastChild; |
745 | 741 |
746 WebFrame* m_opener; | 742 WebFrame* m_opener; |
747 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; | 743 WebPrivateOwnPtr<OpenedFrameTracker> m_openedFrameTracker; |
748 }; | 744 }; |
749 | 745 |
750 } // namespace blink | 746 } // namespace blink |
751 | 747 |
752 #endif | 748 #endif |
OLD | NEW |