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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 void bindToWindowObject(const WebString& name, NPObject*, void*) override; | 106 void bindToWindowObject(const WebString& name, NPObject*, void*) override; |
107 void executeScript(const WebScriptSource&) override; | 107 void executeScript(const WebScriptSource&) override; |
108 void executeScriptInIsolatedWorld( | 108 void executeScriptInIsolatedWorld( |
109 int worldID, const WebScriptSource* sources, unsigned numSources, | 109 int worldID, const WebScriptSource* sources, unsigned numSources, |
110 int extensionGroup) override; | 110 int extensionGroup) override; |
111 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; | 111 void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOrigin&) o
verride; |
112 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; | 112 void setIsolatedWorldContentSecurityPolicy(int worldID, const WebString&) ov
erride; |
113 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; | 113 void setIsolatedWorldHumanReadableName(int worldID, const WebString&) overri
de; |
114 void addMessageToConsole(const WebConsoleMessage&) override; | 114 void addMessageToConsole(const WebConsoleMessage&) override; |
115 void collectGarbage() override; | 115 void collectGarbage() override; |
116 bool checkIfRunInsecureContent(const WebURL&) const override; | |
117 v8::Local<v8::Value> executeScriptAndReturnValue( | 116 v8::Local<v8::Value> executeScriptAndReturnValue( |
118 const WebScriptSource&) override; | 117 const WebScriptSource&) override; |
119 void requestExecuteScriptAndReturnValue( | 118 void requestExecuteScriptAndReturnValue( |
120 const WebScriptSource&, bool userGesture, WebScriptExecutionCallback*) o
verride; | 119 const WebScriptSource&, bool userGesture, WebScriptExecutionCallback*) o
verride; |
121 void executeScriptInIsolatedWorld( | 120 void executeScriptInIsolatedWorld( |
122 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 121 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
123 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; | 122 int extensionGroup, WebVector<v8::Local<v8::Value>>* results) override; |
124 void requestExecuteScriptInIsolatedWorld( | 123 void requestExecuteScriptInIsolatedWorld( |
125 int worldID, const WebScriptSource* sourceIn, unsigned numSources, | 124 int worldID, const WebScriptSource* sourceIn, unsigned numSources, |
126 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr
ide; | 125 int extensionGroup, bool userGesture, WebScriptExecutionCallback*) overr
ide; |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 // cleared upon close(). | 409 // cleared upon close(). |
411 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 410 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
412 #endif | 411 #endif |
413 }; | 412 }; |
414 | 413 |
415 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 414 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
416 | 415 |
417 } // namespace blink | 416 } // namespace blink |
418 | 417 |
419 #endif | 418 #endif |
OLD | NEW |