| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 bool dispatchBeforeUnloadEvent() override; | 99 bool dispatchBeforeUnloadEvent() override; |
| 100 void dispatchUnloadEvent() override; | 100 void dispatchUnloadEvent() override; |
| 101 void executeScript(const WebScriptSource&) override; | 101 void executeScript(const WebScriptSource&) override; |
| 102 void executeScriptInIsolatedWorld( | 102 void executeScriptInIsolatedWorld( |
| 103 int worldID, const WebScriptSource* sources, unsigned numSources, | 103 int worldID, const WebScriptSource* sources, unsigned numSources, |
| 104 int extensionGroup) override; | 104 int extensionGroup) override; |
| 105 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 105 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
| 106 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 106 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
| 107 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; | 107 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; |
| 108 void addMessageToConsole(const WebConsoleMessage&) override; | 108 void addMessageToConsole(const WebConsoleMessage&) override; |
| 109 void addSecurityMessageToConsole(const WebConsoleMessage&) override; |
| 109 void collectGarbage() override; | 110 void collectGarbage() override; |
| 110 v8::Local<v8::Value> executeScriptAndReturnValue( | 111 v8::Local<v8::Value> executeScriptAndReturnValue( |
| 111 const WebScriptSource&) override; | 112 const WebScriptSource&) override; |
| 112 void requestExecuteScriptAndReturnValue( | 113 void requestExecuteScriptAndReturnValue( |
| 113 const WebScriptSource&, bool userGesture, WebScriptExecutionCallback*) o
verride; | 114 const WebScriptSource&, bool userGesture, WebScriptExecutionCallback*) o
verride; |
| 114 void executeScriptInIsolatedWorld( | 115 void executeScriptInIsolatedWorld( |
| 115 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 116 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
| 116 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; | 117 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; |
| 117 void requestExecuteScriptInIsolatedWorld( | 118 void requestExecuteScriptInIsolatedWorld( |
| 118 int worldID, const WebScriptSource* sourceIn, unsigned numSources, | 119 int worldID, const WebScriptSource* sourceIn, unsigned numSources, |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 // Accomplish that by keeping a self-referential Persistent<>. It is | 396 // Accomplish that by keeping a self-referential Persistent<>. It is |
| 396 // cleared upon close(). | 397 // cleared upon close(). |
| 397 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 398 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 398 }; | 399 }; |
| 399 | 400 |
| 400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 401 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 401 | 402 |
| 402 } // namespace blink | 403 } // namespace blink |
| 403 | 404 |
| 404 #endif | 405 #endif |
| OLD | NEW |