OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) | 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) |
3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 const String&, | 322 const String&, |
323 bool, | 323 bool, |
324 DetachedPluginPolicy) override; | 324 DetachedPluginPolicy) override; |
325 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { | 325 bool canCreatePluginWithoutRenderer(const String& mimeType) const override { |
326 return false; | 326 return false; |
327 } | 327 } |
328 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( | 328 std::unique_ptr<WebMediaPlayer> createWebMediaPlayer( |
329 HTMLMediaElement&, | 329 HTMLMediaElement&, |
330 const WebMediaPlayerSource&, | 330 const WebMediaPlayerSource&, |
331 WebMediaPlayerClient*) override; | 331 WebMediaPlayerClient*) override; |
332 std::unique_ptr<WebMediaSession> createWebMediaSession() override; | |
333 | 332 |
334 ObjectContentType getObjectContentType(const KURL&, | 333 ObjectContentType getObjectContentType(const KURL&, |
335 const String&, | 334 const String&, |
336 bool) override { | 335 bool) override { |
337 return ObjectContentType(); | 336 return ObjectContentType(); |
338 } | 337 } |
339 | 338 |
340 void didCreateNewDocument() override {} | 339 void didCreateNewDocument() override {} |
341 void dispatchDidClearWindowObjectInMainWorld() override {} | 340 void dispatchDidClearWindowObjectInMainWorld() override {} |
342 void documentElementAvailable() override {} | 341 void documentElementAvailable() override {} |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 ~EmptyContextMenuClient() override {} | 427 ~EmptyContextMenuClient() override {} |
429 bool showContextMenu(const ContextMenu*, bool) override { return false; } | 428 bool showContextMenu(const ContextMenu*, bool) override { return false; } |
430 void clearContextMenu() override {} | 429 void clearContextMenu() override {} |
431 }; | 430 }; |
432 | 431 |
433 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); | 432 CORE_EXPORT void fillWithEmptyClients(Page::PageClients&); |
434 | 433 |
435 } // namespace blink | 434 } // namespace blink |
436 | 435 |
437 #endif // EmptyClients_h | 436 #endif // EmptyClients_h |
OLD | NEW |