| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
| 3 * Copyright (C) 2012 Google Inc. All rights reserved. | 3 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 class ResourceRequest; | 60 class ResourceRequest; |
| 61 class ResourceResponse; | 61 class ResourceResponse; |
| 62 class SecurityOrigin; | 62 class SecurityOrigin; |
| 63 class SharedWorkerRepositoryClient; | 63 class SharedWorkerRepositoryClient; |
| 64 class SubstituteData; | 64 class SubstituteData; |
| 65 class WebApplicationCacheHost; | 65 class WebApplicationCacheHost; |
| 66 class WebApplicationCacheHostClient; | 66 class WebApplicationCacheHostClient; |
| 67 class WebCookieJar; | 67 class WebCookieJar; |
| 68 class WebMediaPlayer; | 68 class WebMediaPlayer; |
| 69 class WebMediaPlayerClient; | 69 class WebMediaPlayerClient; |
| 70 class WebMediaSession; | |
| 71 class WebRTCPeerConnectionHandler; | 70 class WebRTCPeerConnectionHandler; |
| 72 class WebServiceWorkerProvider; | 71 class WebServiceWorkerProvider; |
| 73 class WebSocketHandle; | 72 class WebSocketHandle; |
| 74 class Widget; | 73 class Widget; |
| 75 | 74 |
| 76 class CORE_EXPORT FrameLoaderClient : public FrameClient { | 75 class CORE_EXPORT FrameLoaderClient : public FrameClient { |
| 77 public: | 76 public: |
| 78 ~FrameLoaderClient() override {} | 77 ~FrameLoaderClient() override {} |
| 79 | 78 |
| 80 virtual bool hasWebView() const = 0; // mainly for assertions | 79 virtual bool hasWebView() const = 0; // mainly for assertions |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't
in the DOM after plugin initialization. | 146 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't
in the DOM after plugin initialization. |
| 148 enum DetachedPluginPolicy { | 147 enum DetachedPluginPolicy { |
| 149 FailOnDetachedPlugin, | 148 FailOnDetachedPlugin, |
| 150 AllowDetachedPlugin, | 149 AllowDetachedPlugin, |
| 151 }; | 150 }; |
| 152 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const =
0; | 151 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const =
0; |
| 153 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons
t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM
anually, DetachedPluginPolicy) = 0; | 152 virtual PassRefPtrWillBeRawPtr<Widget> createPlugin(HTMLPlugInElement*, cons
t KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadM
anually, DetachedPluginPolicy) = 0; |
| 154 | 153 |
| 155 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, c
onst WebURL&, WebMediaPlayerClient*) = 0; | 154 virtual PassOwnPtr<WebMediaPlayer> createWebMediaPlayer(HTMLMediaElement&, c
onst WebURL&, WebMediaPlayerClient*) = 0; |
| 156 | 155 |
| 157 virtual PassOwnPtr<WebMediaSession> createWebMediaSession() = 0; | |
| 158 | |
| 159 virtual ObjectContentType objectContentType(const KURL&, const String& mimeT
ype, bool shouldPreferPlugInsForImages) = 0; | 156 virtual ObjectContentType objectContentType(const KURL&, const String& mimeT
ype, bool shouldPreferPlugInsForImages) = 0; |
| 160 | 157 |
| 161 virtual void didCreateNewDocument() = 0; | 158 virtual void didCreateNewDocument() = 0; |
| 162 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; | 159 virtual void dispatchDidClearWindowObjectInMainWorld() = 0; |
| 163 virtual void documentElementAvailable() = 0; | 160 virtual void documentElementAvailable() = 0; |
| 164 | 161 |
| 165 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) =
0; | 162 virtual v8::Local<v8::Value> createTestInterface(const AtomicString& name) =
0; |
| 166 | 163 |
| 167 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro
up, int worldId) = 0; | 164 virtual void didCreateScriptContext(v8::Local<v8::Context>, int extensionGro
up, int worldId) = 0; |
| 168 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) =
0; | 165 virtual void willReleaseScriptContext(v8::Local<v8::Context>, int worldId) =
0; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 BeforeUnloadHandler, | 233 BeforeUnloadHandler, |
| 237 UnloadHandler, | 234 UnloadHandler, |
| 238 }; | 235 }; |
| 239 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } | 236 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio
nDisablerType) { } |
| 240 | 237 |
| 241 }; | 238 }; |
| 242 | 239 |
| 243 } // namespace blink | 240 } // namespace blink |
| 244 | 241 |
| 245 #endif // FrameLoaderClient_h | 242 #endif // FrameLoaderClient_h |
| OLD | NEW |