OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights |
3 * reserved. | 3 * reserved. |
4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 const AtomicString& name, | 187 const AtomicString& name, |
188 HTMLFrameOwnerElement*) = 0; | 188 HTMLFrameOwnerElement*) = 0; |
189 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't | 189 // Whether or not plugin creation should fail if the HTMLPlugInElement isn't |
190 // in the DOM after plugin initialization. | 190 // in the DOM after plugin initialization. |
191 enum DetachedPluginPolicy { | 191 enum DetachedPluginPolicy { |
192 FailOnDetachedPlugin, | 192 FailOnDetachedPlugin, |
193 AllowDetachedPlugin, | 193 AllowDetachedPlugin, |
194 }; | 194 }; |
195 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0; | 195 virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0; |
196 virtual FrameViewBase* createPlugin(HTMLPlugInElement*, | 196 virtual FrameViewBase* createPlugin(HTMLPlugInElement*, |
197 const KURL&, | 197 const KURL&, |
198 const Vector<String>&, | 198 const Vector<String>&, |
199 const Vector<String>&, | 199 const Vector<String>&, |
200 const String&, | 200 const String&, |
201 bool loadManually, | 201 bool loadManually, |
202 DetachedPluginPolicy) = 0; | 202 DetachedPluginPolicy) = 0; |
203 | 203 |
204 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( | 204 virtual std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( |
205 HTMLMediaElement&, | 205 HTMLMediaElement&, |
206 const WebMediaPlayerSource&, | 206 const WebMediaPlayerSource&, |
207 WebMediaPlayerClient*) = 0; | 207 WebMediaPlayerClient*) = 0; |
208 virtual WebRemotePlaybackClient* createWebRemotePlaybackClient( | 208 virtual WebRemotePlaybackClient* createWebRemotePlaybackClient( |
209 HTMLMediaElement&) = 0; | 209 HTMLMediaElement&) = 0; |
210 | 210 |
211 virtual ObjectContentType getObjectContentType( | 211 virtual ObjectContentType getObjectContentType( |
212 const KURL&, | 212 const KURL&, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } | 341 virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); } |
342 | 342 |
343 virtual BlameContext* frameBlameContext() { return nullptr; } | 343 virtual BlameContext* frameBlameContext() { return nullptr; } |
344 | 344 |
345 virtual void setHasReceivedUserGesture() {} | 345 virtual void setHasReceivedUserGesture() {} |
346 }; | 346 }; |
347 | 347 |
348 } // namespace blink | 348 } // namespace blink |
349 | 349 |
350 #endif // LocalFrameClient_h | 350 #endif // LocalFrameClient_h |
OLD | NEW |