equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. |
3 * Copyright (C) 2008 Collabora Ltd. All rights reserved. |
|
4 * Copyright (C) 2010 Girish Ramakrishnan <girish@forwardbias.in> |
4 * |
5 * |
5 * Redistribution and use in source and binary forms, with or without |
6 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions |
7 * modification, are permitted provided that the following conditions |
7 * are met: |
8 * are met: |
8 * 1. Redistributions of source code must retain the above copyright |
9 * 1. Redistributions of source code must retain the above copyright |
671 return NPERR_GENERIC_ERROR; |
672 return NPERR_GENERIC_ERROR; |
672 } |
673 } |
673 } |
674 } |
674 #endif // defined(XP_MACOSX) |
675 #endif // defined(XP_MACOSX) |
675 |
676 |
|
677 #if PLATFORM(QT) && defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5) |
|
678 case NPPVpluginWindowlessLocalBool: |
|
679 m_renderToImage = true; |
|
680 return NPERR_NO_ERROR; |
|
681 #endif |
|
682 |
676 default: |
683 default: |
677 notImplemented(); |
684 notImplemented(); |
678 return NPERR_GENERIC_ERROR; |
685 return NPERR_GENERIC_ERROR; |
679 } |
686 } |
680 } |
687 } |
847 , m_drawable(0) |
854 , m_drawable(0) |
848 , m_visual(0) |
855 , m_visual(0) |
849 , m_colormap(0) |
856 , m_colormap(0) |
850 , m_pluginDisplay(0) |
857 , m_pluginDisplay(0) |
851 #endif |
858 #endif |
|
859 #if PLATFORM(QT) && defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5) |
|
860 , m_renderToImage(false) |
|
861 #endif |
852 , m_loadManually(loadManually) |
862 , m_loadManually(loadManually) |
853 , m_manualStream(0) |
863 , m_manualStream(0) |
854 , m_isJavaScriptPaused(false) |
864 , m_isJavaScriptPaused(false) |
855 , m_isHalted(false) |
865 , m_isHalted(false) |
856 , m_hasBeenHalted(false) |
866 , m_hasBeenHalted(false) |