| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 class ChromePrintContext; | 48 class ChromePrintContext; |
| 49 class GeolocationClientProxy; | 49 class GeolocationClientProxy; |
| 50 class GraphicsContext; | 50 class GraphicsContext; |
| 51 class HTMLInputElement; | 51 class HTMLInputElement; |
| 52 class HistoryItem; | 52 class HistoryItem; |
| 53 class IntSize; | 53 class IntSize; |
| 54 class KURL; | 54 class KURL; |
| 55 class Node; | 55 class Node; |
| 56 class Range; | 56 class Range; |
| 57 class ScriptSourceCode; |
| 57 class SharedWorkerRepositoryClientImpl; | 58 class SharedWorkerRepositoryClientImpl; |
| 58 class SubstituteData; | 59 class SubstituteData; |
| 59 class TextFinder; | 60 class TextFinder; |
| 60 class WebDataSourceImpl; | 61 class WebDataSourceImpl; |
| 62 class WebScriptCallback; |
| 61 class WebInputElement; | 63 class WebInputElement; |
| 62 class WebFrameClient; | 64 class WebFrameClient; |
| 63 class WebPerformance; | 65 class WebPerformance; |
| 64 class WebPlugin; | 66 class WebPlugin; |
| 65 class WebPluginContainerImpl; | 67 class WebPluginContainerImpl; |
| 66 class WebView; | 68 class WebView; |
| 67 class WebViewImpl; | 69 class WebViewImpl; |
| 68 struct FrameLoadRequest; | 70 struct FrameLoadRequest; |
| 69 struct WebPrintParams; | 71 struct WebPrintParams; |
| 70 struct WindowFeatures; | 72 struct WindowFeatures; |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 int worldID, const WebScriptSource* sources, unsigned numSources, | 112 int worldID, const WebScriptSource* sources, unsigned numSources, |
| 111 int extensionGroup) override; | 113 int extensionGroup) override; |
| 112 virtual void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOr
igin&) override; | 114 virtual void setIsolatedWorldSecurityOrigin(int worldID, const WebSecurityOr
igin&) override; |
| 113 virtual void setIsolatedWorldContentSecurityPolicy(int worldID, const WebStr
ing&) override; | 115 virtual void setIsolatedWorldContentSecurityPolicy(int worldID, const WebStr
ing&) override; |
| 114 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
) override; | 116 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&
) override; |
| 115 virtual void addMessageToConsole(const WebConsoleMessage&) override; | 117 virtual void addMessageToConsole(const WebConsoleMessage&) override; |
| 116 virtual void collectGarbage() override; | 118 virtual void collectGarbage() override; |
| 117 virtual bool checkIfRunInsecureContent(const WebURL&) const override; | 119 virtual bool checkIfRunInsecureContent(const WebURL&) const override; |
| 118 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( | 120 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( |
| 119 const WebScriptSource&) override; | 121 const WebScriptSource&) override; |
| 122 virtual void executeScriptAndReturnValue( |
| 123 const WebScriptSource&, WebScriptCallback*) override; |
| 120 virtual void executeScriptInIsolatedWorld( | 124 virtual void executeScriptInIsolatedWorld( |
| 121 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, | 125 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
| 122 int extensionGroup, WebVector<v8::Local<v8::Value> >* results) override; | 126 int extensionGroup, WebVector<v8::Local<v8::Value> >* results) override; |
| 127 virtual void executeScriptInIsolatedWorld( |
| 128 int worldID, const WebScriptSource* sourcesIn, unsigned numSources, |
| 129 int extensionGroup, WebScriptCallback*) override; |
| 123 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( | 130 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( |
| 124 v8::Handle<v8::Function>, | 131 v8::Handle<v8::Function>, |
| 125 v8::Handle<v8::Value>, | 132 v8::Handle<v8::Value>, |
| 126 int argc, | 133 int argc, |
| 127 v8::Handle<v8::Value> argv[]) override; | 134 v8::Handle<v8::Value> argv[]) override; |
| 128 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; | 135 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; |
| 129 virtual void reload(bool ignoreCache) override; | 136 virtual void reload(bool ignoreCache) override; |
| 130 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac
he) override; | 137 virtual void reloadWithOverrideURL(const WebURL& overrideUrl, bool ignoreCac
he) override; |
| 131 virtual void loadRequest(const WebURLRequest&) override; | 138 virtual void loadRequest(const WebURLRequest&) override; |
| 132 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU
RLRequest::CachePolicy) override; | 139 virtual void loadHistoryItem(const WebHistoryItem&, WebHistoryLoadType, WebU
RLRequest::CachePolicy) override; |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 | 329 |
| 323 explicit WebLocalFrameImpl(WebFrameClient*); | 330 explicit WebLocalFrameImpl(WebFrameClient*); |
| 324 | 331 |
| 325 // Sets the local core frame and registers destruction observers. | 332 // Sets the local core frame and registers destruction observers. |
| 326 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); | 333 void setCoreFrame(PassRefPtrWillBeRawPtr<LocalFrame>); |
| 327 | 334 |
| 328 void loadJavaScriptURL(const KURL&); | 335 void loadJavaScriptURL(const KURL&); |
| 329 | 336 |
| 330 WebPlugin* focusedPluginIfInputMethodSupported(); | 337 WebPlugin* focusedPluginIfInputMethodSupported(); |
| 331 | 338 |
| 339 Vector<ScriptSourceCode> createSourcesVector(const WebScriptSource* sourcesI
n, unsigned numSources); |
| 340 |
| 332 FrameLoaderClientImpl m_frameLoaderClientImpl; | 341 FrameLoaderClientImpl m_frameLoaderClientImpl; |
| 333 | 342 |
| 334 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This | 343 // The embedder retains a reference to the WebCore LocalFrame while it is ac
tive in the DOM. This |
| 335 // reference is released when the frame is removed from the DOM or the entir
e page is closed. | 344 // reference is released when the frame is removed from the DOM or the entir
e page is closed. |
| 336 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. | 345 // FIXME: These will need to change to WebFrame when we introduce WebFramePr
oxy. |
| 337 RefPtrWillBeMember<LocalFrame> m_frame; | 346 RefPtrWillBeMember<LocalFrame> m_frame; |
| 338 | 347 |
| 339 WebFrameClient* m_client; | 348 WebFrameClient* m_client; |
| 340 WebPermissionClient* m_permissionClient; | 349 WebPermissionClient* m_permissionClient; |
| 341 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; | 350 OwnPtr<SharedWorkerRepositoryClientImpl> m_sharedWorkerRepositoryClient; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 365 GC_PLUGIN_IGNORE("340522") | 374 GC_PLUGIN_IGNORE("340522") |
| 366 Persistent<WebLocalFrameImpl> m_selfKeepAlive; | 375 Persistent<WebLocalFrameImpl> m_selfKeepAlive; |
| 367 #endif | 376 #endif |
| 368 }; | 377 }; |
| 369 | 378 |
| 370 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 379 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 371 | 380 |
| 372 } // namespace blink | 381 } // namespace blink |
| 373 | 382 |
| 374 #endif | 383 #endif |
| OLD | NEW |